Class HistoryTaskListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.history.parser.HistoryTaskListener
-
- All Implemented Interfaces:
TaskListener
- Direct Known Subclasses:
ActivityInstanceUpdateListener
public abstract class HistoryTaskListener extends Object implements TaskListener
A
TaskListenerimplementation that delegates to aHistoryEventProducer.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected HistoryEventProducereventProducerprotected HistoryLevelhistoryLevel-
Fields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE
-
-
Constructor Summary
Constructors Constructor Description HistoryTaskListener(HistoryEventProducer historyEventProducer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract HistoryEventcreateHistoryEvent(DelegateTask task, ExecutionEntity execution)protected voidensureHistoryLevelInitialized()voidnotify(DelegateTask task)
-
-
-
Field Detail
-
eventProducer
protected final HistoryEventProducer eventProducer
-
historyLevel
protected HistoryLevel historyLevel
-
-
Constructor Detail
-
HistoryTaskListener
public HistoryTaskListener(HistoryEventProducer historyEventProducer)
-
-
Method Detail
-
notify
public void notify(DelegateTask task)
- Specified by:
notifyin interfaceTaskListener
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-
createHistoryEvent
protected abstract HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
-
-