Class HistoryExecutionListener
java.lang.Object
org.camunda.bpm.engine.impl.history.parser.HistoryExecutionListener
- All Implemented Interfaces:
DelegateListener<DelegateExecution>,ExecutionListener
- Direct Known Subclasses:
ActivityInstanceEndListener,ActivityInstanceStartListener,ProcessInstanceEndListener,ProcessInstanceStartListener,ProcessInstanceUpdateListener
An ExecutionListener implementation that delegates to a
HistoryEventProducer.
This allows plugging the history as an execution listener into process execution and make sure history events are generated as we move through the process.
- Author:
- Daniel Meyer
-
Field Summary
FieldsFields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HistoryEventcreateHistoryEvent(DelegateExecution execution) protected voidvoidnotify(DelegateExecution execution)
-
Field Details
-
eventProducer
-
historyLevel
-
-
Constructor Details
-
HistoryExecutionListener
-
-
Method Details
-
notify
- Specified by:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- Throws:
Exception
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized() -
createHistoryEvent
-