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 java.lang.Object implements TaskListener
A
TaskListener
implementation that delegates to aHistoryEventProducer
.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected HistoryEventProducer
eventProducer
protected HistoryLevel
historyLevel
-
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 HistoryEvent
createHistoryEvent(DelegateTask task, ExecutionEntity execution)
protected void
ensureHistoryLevelInitialized()
void
notify(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:
notify
in interfaceTaskListener
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-
createHistoryEvent
protected abstract HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
-
-