public abstract class HistoryTaskListener extends Object implements TaskListener
A TaskListener
implementation that delegates to a
HistoryEventProducer
.
Modifier and Type | Field and Description |
---|---|
protected HistoryEventProducer |
eventProducer |
protected HistoryLevel |
historyLevel |
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
Constructor and Description |
---|
HistoryTaskListener(HistoryEventProducer historyEventProducer) |
Modifier and Type | Method and Description |
---|---|
protected abstract HistoryEvent |
createHistoryEvent(DelegateTask task,
ExecutionEntity execution) |
protected void |
ensureHistoryLevelInitialized() |
void |
notify(DelegateTask task) |
protected final HistoryEventProducer eventProducer
protected HistoryLevel historyLevel
public HistoryTaskListener(HistoryEventProducer historyEventProducer)
public void notify(DelegateTask task)
notify
in interface TaskListener
protected void ensureHistoryLevelInitialized()
protected abstract HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
Copyright © 2019. All rights reserved.