|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.history.handler.CompositeHistoryEventHandler
public class CompositeHistoryEventHandler
A HistoryEventHandler implementation which delegates to a list of
HistoryEventHandler.
| Field Summary | |
|---|---|
protected List<HistoryEventHandler> |
historyEventHandlers
The list of HistoryEventHandler which consume the event. |
| Constructor Summary | |
|---|---|
CompositeHistoryEventHandler()
Non-argument constructor for default initialization. |
|
CompositeHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
Constructor that takes a varargs parameter HistoryEventHandler that
consume the event. |
|
CompositeHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
Constructor that takes a list of HistoryEventHandler that consume
the event. |
|
| Method Summary | |
|---|---|
void |
add(HistoryEventHandler historyEventHandler)
Adds the HistoryEventHandler to the list of
HistoryEventHandler that consume the event. |
void |
handleEvent(HistoryEvent historyEvent)
Called by the process engine when an history event is fired. |
void |
handleEvents(List<HistoryEvent> historyEvents)
Called by the process engine when an history event is fired. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final List<HistoryEventHandler> historyEventHandlers
HistoryEventHandler which consume the event.
| Constructor Detail |
|---|
public CompositeHistoryEventHandler()
public CompositeHistoryEventHandler(HistoryEventHandler... historyEventHandlers)
HistoryEventHandler that
consume the event.
historyEventHandlers - the list of HistoryEventHandler that consume the event.public CompositeHistoryEventHandler(List<HistoryEventHandler> historyEventHandlers)
HistoryEventHandler that consume
the event.
historyEventHandlers - the list of HistoryEventHandler that consume the event.| Method Detail |
|---|
public void add(HistoryEventHandler historyEventHandler)
HistoryEventHandler to the list of
HistoryEventHandler that consume the event.
historyEventHandler - the HistoryEventHandler that consume the event.public void handleEvent(HistoryEvent historyEvent)
HistoryEventHandler
handleEvent in interface HistoryEventHandlerhistoryEvent - the HistoryEvent that is about to be fired.public void handleEvents(List<HistoryEvent> historyEvents)
HistoryEventHandler
handleEvents in interface HistoryEventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||