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
Modifier and TypeFieldDescriptionprotected ExecutionListener
protected ExecutionListener
protected HistoryLevel
protected ExecutionListener
protected ExecutionListener
protected TaskListener
protected TaskListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addActivityHandlers
(ActivityImpl activity) protected void
protected void
initExecutionListeners
(HistoryEventProducer historyEventProducer) void
parseBoundaryConditionalEventDefinition
(Element element, boolean interrupting, ActivityImpl conditionalActivity) void
parseBoundaryErrorEventDefinition
(Element errorEventDefinition, boolean interrupting, ActivityImpl activity, ActivityImpl nestedErrorEventActivity) void
parseBoundaryEscalationEventDefinition
(Element escalationEventDefinition, boolean interrupting, ActivityImpl boundaryEventActivity) void
parseBoundaryEvent
(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) void
parseBoundaryMessageEventDefinition
(Element element, boolean interrupting, ActivityImpl messageActivity) void
parseBoundarySignalEventDefinition
(Element signalEventDefinition, boolean interrupting, ActivityImpl signalActivity) void
parseBoundaryTimerEventDefinition
(Element timerEventDefinition, boolean interrupting, ActivityImpl timerActivity) void
parseBusinessRuleTask
(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseCallActivity
(Element callActivityElement, ScopeImpl scope, ActivityImpl activity) void
parseCompensateEventDefinition
(Element compensateEventDefinition, ActivityImpl compensationActivity) void
parseConditionalStartEventForEventSubprocess
(Element element, ActivityImpl conditionalActivity, boolean interrupting) void
parseEndEvent
(Element endEventElement, ScopeImpl scope, ActivityImpl activity) void
parseEventBasedGateway
(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity) void
parseExclusiveGateway
(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity) void
parseInclusiveGateway
(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity) void
parseIntermediateCatchEvent
(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) void
parseIntermediateConditionalEventDefinition
(Element conditionalEventDefinition, ActivityImpl conditionalActivity) void
parseIntermediateMessageCatchEventDefinition
(Element messageEventDefinition, ActivityImpl nestedActivity) void
parseIntermediateSignalCatchEventDefinition
(Element signalEventDefinition, ActivityImpl signalActivity) void
parseIntermediateThrowEvent
(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) void
parseIntermediateTimerEventDefinition
(Element timerEventDefinition, ActivityImpl timerActivity) void
parseIoMapping
(Element extensionElements, ActivityImpl activity, IoMapping inputOutput) void
parseManualTask
(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseMultiInstanceLoopCharacteristics
(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity) void
parseParallelGateway
(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity) void
parseProcess
(Element processElement, ProcessDefinitionEntity processDefinition) void
parseProperty
(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) void
parseReceiveTask
(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseRootElement
(Element rootElement, List<ProcessDefinitionEntity> processDefinitions) void
parseScriptTask
(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseSendTask
(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseSequenceFlow
(Element sequenceFlowElement, ScopeImpl scopeElement, TransitionImpl transition) void
parseServiceTask
(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity) void
parseStartEvent
(Element startEventElement, ScopeImpl scope, ActivityImpl activity) void
parseSubProcess
(Element subProcessElement, ScopeImpl scope, ActivityImpl activity) void
parseTask
(Element taskElement, ScopeImpl scope, ActivityImpl activity) void
parseTransaction
(Element transactionElement, ScopeImpl scope, ActivityImpl activity) void
parseUserTask
(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:
parseProcess
in interfaceBpmnParseListener
-
parseExclusiveGateway
public void parseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseExclusiveGateway
in interfaceBpmnParseListener
-
parseInclusiveGateway
public void parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseInclusiveGateway
in interfaceBpmnParseListener
-
parseCallActivity
- Specified by:
parseCallActivity
in interfaceBpmnParseListener
-
parseManualTask
- Specified by:
parseManualTask
in interfaceBpmnParseListener
-
parseReceiveTask
- Specified by:
parseReceiveTask
in interfaceBpmnParseListener
-
parseScriptTask
- Specified by:
parseScriptTask
in interfaceBpmnParseListener
-
parseTask
- Specified by:
parseTask
in interfaceBpmnParseListener
-
parseUserTask
- Specified by:
parseUserTask
in interfaceBpmnParseListener
-
parseServiceTask
- Specified by:
parseServiceTask
in interfaceBpmnParseListener
-
parseBusinessRuleTask
public void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseBusinessRuleTask
in interfaceBpmnParseListener
-
parseSubProcess
- Specified by:
parseSubProcess
in interfaceBpmnParseListener
-
parseStartEvent
- Specified by:
parseStartEvent
in interfaceBpmnParseListener
-
parseSendTask
- Specified by:
parseSendTask
in interfaceBpmnParseListener
-
parseEndEvent
- Specified by:
parseEndEvent
in interfaceBpmnParseListener
-
parseParallelGateway
- Specified by:
parseParallelGateway
in interfaceBpmnParseListener
-
parseBoundaryTimerEventDefinition
public void parseBoundaryTimerEventDefinition(Element timerEventDefinition, boolean interrupting, ActivityImpl timerActivity) - Specified by:
parseBoundaryTimerEventDefinition
in interfaceBpmnParseListener
-
parseBoundaryErrorEventDefinition
public void parseBoundaryErrorEventDefinition(Element errorEventDefinition, boolean interrupting, ActivityImpl activity, ActivityImpl nestedErrorEventActivity) - Specified by:
parseBoundaryErrorEventDefinition
in interfaceBpmnParseListener
-
parseIntermediateTimerEventDefinition
public void parseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity) - Specified by:
parseIntermediateTimerEventDefinition
in interfaceBpmnParseListener
-
parseProperty
public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity) - Specified by:
parseProperty
in interfaceBpmnParseListener
-
parseSequenceFlow
public void parseSequenceFlow(Element sequenceFlowElement, ScopeImpl scopeElement, TransitionImpl transition) - Specified by:
parseSequenceFlow
in interfaceBpmnParseListener
-
parseRootElement
- Specified by:
parseRootElement
in interfaceBpmnParseListener
-
parseBoundarySignalEventDefinition
public void parseBoundarySignalEventDefinition(Element signalEventDefinition, boolean interrupting, ActivityImpl signalActivity) - Specified by:
parseBoundarySignalEventDefinition
in interfaceBpmnParseListener
-
parseEventBasedGateway
public void parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseEventBasedGateway
in interfaceBpmnParseListener
-
parseMultiInstanceLoopCharacteristics
public void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity) - Specified by:
parseMultiInstanceLoopCharacteristics
in interfaceBpmnParseListener
-
parseIntermediateSignalCatchEventDefinition
public void parseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity) - Specified by:
parseIntermediateSignalCatchEventDefinition
in interfaceBpmnParseListener
-
parseTransaction
- Specified by:
parseTransaction
in interfaceBpmnParseListener
-
parseCompensateEventDefinition
public void parseCompensateEventDefinition(Element compensateEventDefinition, ActivityImpl compensationActivity) - Specified by:
parseCompensateEventDefinition
in interfaceBpmnParseListener
-
parseIntermediateThrowEvent
public void parseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseIntermediateThrowEvent
in interfaceBpmnParseListener
-
parseIntermediateCatchEvent
public void parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity) - Specified by:
parseIntermediateCatchEvent
in interfaceBpmnParseListener
-
parseBoundaryEvent
public void parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity) - Specified by:
parseBoundaryEvent
in interfaceBpmnParseListener
-
parseIntermediateMessageCatchEventDefinition
public void parseIntermediateMessageCatchEventDefinition(Element messageEventDefinition, ActivityImpl nestedActivity) - Specified by:
parseIntermediateMessageCatchEventDefinition
in interfaceBpmnParseListener
-
parseBoundaryMessageEventDefinition
public void parseBoundaryMessageEventDefinition(Element element, boolean interrupting, ActivityImpl messageActivity) - Specified by:
parseBoundaryMessageEventDefinition
in interfaceBpmnParseListener
-
parseBoundaryEscalationEventDefinition
public void parseBoundaryEscalationEventDefinition(Element escalationEventDefinition, boolean interrupting, ActivityImpl boundaryEventActivity) - Specified by:
parseBoundaryEscalationEventDefinition
in interfaceBpmnParseListener
-
parseBoundaryConditionalEventDefinition
public void parseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity) - Specified by:
parseBoundaryConditionalEventDefinition
in interfaceBpmnParseListener
-
parseIntermediateConditionalEventDefinition
public void parseIntermediateConditionalEventDefinition(Element conditionalEventDefinition, ActivityImpl conditionalActivity) - Specified by:
parseIntermediateConditionalEventDefinition
in interfaceBpmnParseListener
-
parseConditionalStartEventForEventSubprocess
public void parseConditionalStartEventForEventSubprocess(Element element, ActivityImpl conditionalActivity, boolean interrupting) - Specified by:
parseConditionalStartEventForEventSubprocess
in interfaceBpmnParseListener
-
parseIoMapping
- Specified by:
parseIoMapping
in interfaceBpmnParseListener
-
addActivityHandlers
-
ensureHistoryLevelInitialized
protected void ensureHistoryLevelInitialized()
-