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
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract HistoryEvent
createHistoryEvent
(DelegateExecution execution) protected void
void
notify
(DelegateExecution execution)
-
Field Details
-
eventProducer
-
historyLevel
-
-
Constructor Details
-
HistoryExecutionListener
-
-
Method Details
-
notify
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
Exception
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized() -
createHistoryEvent
-