org.camunda.bpm.engine.impl.history.transformer
Class HistoryCaseExecutionListener

java.lang.Object
  extended by org.camunda.bpm.engine.impl.history.transformer.HistoryCaseExecutionListener
All Implemented Interfaces:
CaseExecutionListener, DelegateListener<DelegateCaseExecution>
Direct Known Subclasses:
CaseActivityInstanceCreateListener, CaseActivityInstanceEndListener, CaseActivityInstanceUpdateListener, CaseInstanceCloseListener, CaseInstanceCreateListener, CaseInstanceUpdateListener

public abstract class HistoryCaseExecutionListener
extends Object
implements CaseExecutionListener

Author:
Sebastian Menski

Field Summary
protected  CmmnHistoryEventProducer eventProducer
           
protected  HistoryLevel historyLevel
           
 
Fields inherited from interface org.camunda.bpm.engine.delegate.CaseExecutionListener
CLOSE, COMPLETE, CREATE, DISABLE, ENABLE, EXIT, MANUAL_START, OCCUR, PARENT_RESUME, PARENT_SUSPEND, PARENT_TERMINATE, RE_ACTIVATE, RE_ENABLE, RESUME, START, SUSPEND, TERMINATE
 
Constructor Summary
HistoryCaseExecutionListener(CmmnHistoryEventProducer historyEventProducer, HistoryLevel historyLevel)
           
 
Method Summary
protected abstract  HistoryEvent createHistoryEvent(DelegateCaseExecution caseExecution)
           
 void notify(DelegateCaseExecution caseExecution)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventProducer

protected CmmnHistoryEventProducer eventProducer

historyLevel

protected HistoryLevel historyLevel
Constructor Detail

HistoryCaseExecutionListener

public HistoryCaseExecutionListener(CmmnHistoryEventProducer historyEventProducer,
                                    HistoryLevel historyLevel)
Method Detail

notify

public void notify(DelegateCaseExecution caseExecution)
            throws Exception
Specified by:
notify in interface CaseExecutionListener
Specified by:
notify in interface DelegateListener<DelegateCaseExecution>
Throws:
Exception

createHistoryEvent

protected abstract HistoryEvent createHistoryEvent(DelegateCaseExecution caseExecution)


Copyright © 2015 camunda services GmbH. All rights reserved.