public abstract class HistoryExecutionListener extends Object implements ExecutionListener
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.
Modifier and Type | Field and Description |
---|---|
protected HistoryEventProducer |
eventProducer |
protected HistoryLevel |
historyLevel |
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Constructor and Description |
---|
HistoryExecutionListener(HistoryEventProducer historyEventProducer) |
Modifier and Type | Method and Description |
---|---|
protected abstract HistoryEvent |
createHistoryEvent(DelegateExecution execution) |
protected void |
ensureHistoryLevelInitialized() |
void |
notify(DelegateExecution execution) |
protected final HistoryEventProducer eventProducer
protected HistoryLevel historyLevel
public HistoryExecutionListener(HistoryEventProducer historyEventProducer)
public void notify(DelegateExecution execution) throws Exception
notify
in interface DelegateListener<DelegateExecution>
notify
in interface ExecutionListener
Exception
protected void ensureHistoryLevelInitialized()
protected abstract HistoryEvent createHistoryEvent(DelegateExecution execution)
Copyright © 2022. All rights reserved.