Class HistoryParseListener
java.lang.Object
org.camunda.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) voidparseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity) voidparseBoundaryErrorEventDefinition(Element errorEventDefinition, boolean interrupting, ActivityImpl activity, ActivityImpl nestedErrorEventActivity) voidparseBoundaryEscalationEventDefinition(Element escalationEventDefinition, boolean interrupting, ActivityImpl boundaryEventActivity) voidparseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) voidparseBoundaryMessageEventDefinition(Element element, boolean interrupting, ActivityImpl messageActivity) voidparseBoundarySignalEventDefinition(Element signalEventDefinition, boolean interrupting, ActivityImpl signalActivity) voidparseBoundaryTimerEventDefinition(Element timerEventDefinition, boolean interrupting, ActivityImpl timerActivity) voidparseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity) voidparseCompensateEventDefinition(Element compensateEventDefinition, ActivityImpl compensationActivity) voidparseConditionalStartEventForEventSubprocess(Element element, ActivityImpl conditionalActivity, boolean interrupting) 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) voidparseIntermediateConditionalEventDefinition(Element conditionalEventDefinition, ActivityImpl conditionalActivity) voidparseIntermediateMessageCatchEventDefinition(Element messageEventDefinition, ActivityImpl nestedActivity) voidparseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity) voidparseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) voidparseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity) voidparseIoMapping(Element extensionElements, ActivityImpl activity, IoMapping inputOutput) 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) voidparseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) voidparseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseRootElement(Element rootElement, List<ProcessDefinitionEntity> processDefinitions) voidparseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity) voidparseSequenceFlow(Element sequenceFlowElement, ScopeImpl scopeElement, TransitionImpl transition) 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)
-
Field Details
-
PROCESS_INSTANCE_START_LISTENER
-
PROCESS_INSTANCE_END_LISTENER
-
ACTIVITY_INSTANCE_START_LISTENER
-
ACTIVITY_INSTANCE_END_LISTENER
-
USER_TASK_ASSIGNMENT_HANDLER
-
USER_TASK_ID_HANDLER
-
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
-
parseBoundaryTimerEventDefinition
public void parseBoundaryTimerEventDefinition(Element timerEventDefinition, boolean interrupting, ActivityImpl timerActivity) - Specified by:
parseBoundaryTimerEventDefinitionin interfaceBpmnParseListener
-
parseBoundaryErrorEventDefinition
public void parseBoundaryErrorEventDefinition(Element errorEventDefinition, boolean interrupting, ActivityImpl activity, ActivityImpl nestedErrorEventActivity) - Specified by:
parseBoundaryErrorEventDefinitionin interfaceBpmnParseListener
-
parseIntermediateTimerEventDefinition
public void parseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity) - Specified by:
parseIntermediateTimerEventDefinitionin interfaceBpmnParseListener
-
parseProperty
public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) - Specified by:
parsePropertyin interfaceBpmnParseListener
-
parseSequenceFlow
public void parseSequenceFlow(Element sequenceFlowElement, ScopeImpl scopeElement, TransitionImpl transition) - Specified by:
parseSequenceFlowin interfaceBpmnParseListener
-
parseRootElement
- Specified by:
parseRootElementin interfaceBpmnParseListener
-
parseBoundarySignalEventDefinition
public void parseBoundarySignalEventDefinition(Element signalEventDefinition, boolean interrupting, ActivityImpl signalActivity) - Specified by:
parseBoundarySignalEventDefinitionin 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
-
parseCompensateEventDefinition
public void parseCompensateEventDefinition(Element compensateEventDefinition, ActivityImpl compensationActivity) - Specified by:
parseCompensateEventDefinitionin 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
-
parseIntermediateMessageCatchEventDefinition
public void parseIntermediateMessageCatchEventDefinition(Element messageEventDefinition, ActivityImpl nestedActivity) - Specified by:
parseIntermediateMessageCatchEventDefinitionin interfaceBpmnParseListener
-
parseBoundaryMessageEventDefinition
public void parseBoundaryMessageEventDefinition(Element element, boolean interrupting, ActivityImpl messageActivity) - Specified by:
parseBoundaryMessageEventDefinitionin interfaceBpmnParseListener
-
parseBoundaryEscalationEventDefinition
public void parseBoundaryEscalationEventDefinition(Element escalationEventDefinition, boolean interrupting, ActivityImpl boundaryEventActivity) - Specified by:
parseBoundaryEscalationEventDefinitionin interfaceBpmnParseListener
-
parseBoundaryConditionalEventDefinition
public void parseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity) - Specified by:
parseBoundaryConditionalEventDefinitionin interfaceBpmnParseListener
-
parseIntermediateConditionalEventDefinition
public void parseIntermediateConditionalEventDefinition(Element conditionalEventDefinition, ActivityImpl conditionalActivity) - Specified by:
parseIntermediateConditionalEventDefinitionin interfaceBpmnParseListener
-
parseConditionalStartEventForEventSubprocess
public void parseConditionalStartEventForEventSubprocess(Element element, ActivityImpl conditionalActivity, boolean interrupting) - Specified by:
parseConditionalStartEventForEventSubprocessin interfaceBpmnParseListener
-
parseIoMapping
- Specified by:
parseIoMappingin interfaceBpmnParseListener
-
addActivityHandlers
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-