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,
HistoryLevel historyLevel) |
Modifier and Type | Method and Description |
---|---|
protected abstract HistoryEvent |
createHistoryEvent(DelegateTask task,
ExecutionEntity execution) |
void |
notify(DelegateTask task) |
protected final HistoryEventProducer eventProducer
protected HistoryLevel historyLevel
public HistoryTaskListener(HistoryEventProducer historyEventProducer, HistoryLevel historyLevel)
public void notify(DelegateTask task)
notify
in interface TaskListener
protected abstract HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
Copyright © 2017. All rights reserved.