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, EVENTNAME_TIMEOUT, EVENTNAME_UPDATE| 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 TaskListenerprotected void ensureHistoryLevelInitialized()
protected abstract HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
Copyright © 2013–2019 camunda services GmbH. All rights reserved.