Class HistoryParseListener
java.lang.Object
org.operaton.bpm.engine.impl.history.parser.HistoryParseListener
- All Implemented Interfaces:
BpmnParseListener
This class is responsible for wiring history as execution listeners into process execution.
NOTE: the role of this class has changed since 7.0: in order to customize history behavior it is
usually not necessary to override this class but rather the HistoryEventProducer for
customizing data acquisition and HistoryEventHandler for customizing the persistence behavior
or if you need a history event stream.
- Author:
- Tom Baeyens, Joram Barrez, Falko Menge, Bernd Ruecker (Camunda), Christian Lipphardt (Camunda), Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExecutionListenerprotected ExecutionListenerprotected HistoryLevelprotected ExecutionListenerprotected ExecutionListenerprotected TaskListenerprotected TaskListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddActivityHandlers(ActivityImpl activity) protected voidprotected voidinitExecutionListeners(HistoryEventProducer historyEventProducer) voidparseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) voidparseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity) voidparseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity) voidparseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity) voidparseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity) voidparseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity) voidparseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) voidparseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity) voidparseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) voidparseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity) voidparseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity) voidparseProcess(Element processElement, ProcessDefinitionEntity processDefinition) voidparseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseStartEvent(Element startEventElement, ScopeImpl scope, ActivityImpl activity) voidparseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity) voidparseTask(Element taskElement, ScopeImpl scope, ActivityImpl activity) voidparseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity) voidparseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.operaton.bpm.engine.impl.bpmn.parser.BpmnParseListener
parseBoundaryConditionalEventDefinition, parseBoundaryErrorEventDefinition, parseBoundaryEscalationEventDefinition, parseBoundaryMessageEventDefinition, parseBoundarySignalEventDefinition, parseBoundaryTimerEventDefinition, parseCompensateEventDefinition, parseConditionalStartEventForEventSubprocess, parseIntermediateConditionalEventDefinition, parseIntermediateMessageCatchEventDefinition, parseIntermediateTimerEventDefinition, parseIoMapping, parseProperty, parseRootElement, parseSequenceFlow
-
Field Details
-
processInstanceStartListener
-
processInstanceEndListener
-
activityInstanceStartListener
-
activityInstanceEndListener
-
userTaskAssignmentHandler
-
userTaskIdHandler
-
historyLevel
-
-
Constructor Details
-
HistoryParseListener
-
-
Method Details
-
initExecutionListeners
-
parseProcess
- Specified by:
parseProcessin interfaceBpmnParseListener
-
parseExclusiveGateway
public void parseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseExclusiveGatewayin interfaceBpmnParseListener
-
parseInclusiveGateway
public void parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseInclusiveGatewayin interfaceBpmnParseListener
-
parseCallActivity
- Specified by:
parseCallActivityin interfaceBpmnParseListener
-
parseManualTask
- Specified by:
parseManualTaskin interfaceBpmnParseListener
-
parseReceiveTask
- Specified by:
parseReceiveTaskin interfaceBpmnParseListener
-
parseScriptTask
- Specified by:
parseScriptTaskin interfaceBpmnParseListener
-
parseTask
- Specified by:
parseTaskin interfaceBpmnParseListener
-
parseUserTask
- Specified by:
parseUserTaskin interfaceBpmnParseListener
-
parseServiceTask
- Specified by:
parseServiceTaskin interfaceBpmnParseListener
-
parseBusinessRuleTask
public void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseBusinessRuleTaskin interfaceBpmnParseListener
-
parseSubProcess
- Specified by:
parseSubProcessin interfaceBpmnParseListener
-
parseStartEvent
- Specified by:
parseStartEventin interfaceBpmnParseListener
-
parseSendTask
- Specified by:
parseSendTaskin interfaceBpmnParseListener
-
parseEndEvent
- Specified by:
parseEndEventin interfaceBpmnParseListener
-
parseParallelGateway
- Specified by:
parseParallelGatewayin interfaceBpmnParseListener
-
parseEventBasedGateway
public void parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseEventBasedGatewayin interfaceBpmnParseListener
-
parseMultiInstanceLoopCharacteristics
public void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity) - Specified by:
parseMultiInstanceLoopCharacteristicsin interfaceBpmnParseListener
-
parseIntermediateSignalCatchEventDefinition
public void parseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity) - Specified by:
parseIntermediateSignalCatchEventDefinitionin interfaceBpmnParseListener
-
parseTransaction
- Specified by:
parseTransactionin interfaceBpmnParseListener
-
parseIntermediateThrowEvent
public void parseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseIntermediateThrowEventin interfaceBpmnParseListener
-
parseIntermediateCatchEvent
public void parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseIntermediateCatchEventin interfaceBpmnParseListener
-
parseBoundaryEvent
public void parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) - Specified by:
parseBoundaryEventin interfaceBpmnParseListener
-
addActivityHandlers
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-