org.camunda.bpm.engine.impl.history.parser
Class HistoryTaskListener

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.parser.HistoryTaskListener
All Implemented Interfaces:
TaskListener
Direct Known Subclasses:
ActivityInstanceUpdateListener

public abstract class HistoryTaskListener
extends Object
implements TaskListener

A TaskListener implementation that delegates to a HistoryEventProducer.

Author:
Daniel Meyer

Field Summary
protected  HistoryEventProducer eventProducer
           
protected  HistoryLevel historyLevel
           
 
Fields inherited from interface org.camunda.bpm.engine.delegate.TaskListener
EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
 
Constructor Summary
HistoryTaskListener(HistoryEventProducer historyEventProducer, HistoryLevel historyLevel)
           
 
Method Summary
protected abstract  HistoryEvent createHistoryEvent(DelegateTask task, ExecutionEntity execution)
           
 void notify(DelegateTask task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventProducer

protected final HistoryEventProducer eventProducer

historyLevel

protected HistoryLevel historyLevel
Constructor Detail

HistoryTaskListener

public HistoryTaskListener(HistoryEventProducer historyEventProducer,
                           HistoryLevel historyLevel)
Method Detail

notify

public void notify(DelegateTask task)
Specified by:
notify in interface TaskListener

createHistoryEvent

protected abstract HistoryEvent createHistoryEvent(DelegateTask task,
                                                   ExecutionEntity execution)


Copyright © 2017 camunda services GmbH. All rights reserved.