Class HistoryCaseExecutionListener
- java.lang.Object
-
- 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 java.lang.Object implements CaseExecutionListener
- Author:
- Sebastian Menski
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description HistoryCaseExecutionListener(CmmnHistoryEventProducer historyEventProducer)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract HistoryEvent
createHistoryEvent(DelegateCaseExecution caseExecution)
protected void
ensureHistoryLevelInitialized()
void
notify(DelegateCaseExecution caseExecution)
-
-
-
Field Detail
-
eventProducer
protected CmmnHistoryEventProducer eventProducer
-
historyLevel
protected HistoryLevel historyLevel
-
-
Constructor Detail
-
HistoryCaseExecutionListener
public HistoryCaseExecutionListener(CmmnHistoryEventProducer historyEventProducer)
-
-
Method Detail
-
notify
public void notify(DelegateCaseExecution caseExecution) throws java.lang.Exception
- Specified by:
notify
in interfaceCaseExecutionListener
- Specified by:
notify
in interfaceDelegateListener<DelegateCaseExecution>
- Throws:
java.lang.Exception
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-
createHistoryEvent
protected abstract HistoryEvent createHistoryEvent(DelegateCaseExecution caseExecution)
-
-