public class HistoryParseListener extends Object implements 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.
Modifier and Type | Field and Description |
---|---|
protected ExecutionListener |
ACTIVITY_INSTANCE_END_LISTENER |
protected ExecutionListener |
ACTIVITY_INSTANCE_START_LISTENER |
protected HistoryLevel |
historyLevel |
protected ExecutionListener |
PROCESS_INSTANCE_END_LISTENER |
protected ExecutionListener |
PROCESS_INSTANCE_START_LISTENER |
protected TaskListener |
USER_TASK_ASSIGNMENT_HANDLER |
protected TaskListener |
USER_TASK_ID_HANDLER |
Constructor and Description |
---|
HistoryParseListener(HistoryLevel historyLevel,
HistoryEventProducer historyEventProducer) |
Modifier and Type | Method and Description |
---|---|
protected void |
addActivityHandlers(ActivityImpl activity) |
protected void |
initExecutionListeners(HistoryEventProducer historyEventProducer,
HistoryLevel historyLevel) |
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 |
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) |
protected ExecutionListener PROCESS_INSTANCE_START_LISTENER
protected ExecutionListener PROCESS_INSTANCE_END_LISTENER
protected ExecutionListener ACTIVITY_INSTANCE_START_LISTENER
protected ExecutionListener ACTIVITY_INSTANCE_END_LISTENER
protected TaskListener USER_TASK_ASSIGNMENT_HANDLER
protected TaskListener USER_TASK_ID_HANDLER
protected HistoryLevel historyLevel
public HistoryParseListener(HistoryLevel historyLevel, HistoryEventProducer historyEventProducer)
protected void initExecutionListeners(HistoryEventProducer historyEventProducer, HistoryLevel historyLevel)
public void parseProcess(Element processElement, ProcessDefinitionEntity processDefinition)
parseProcess
in interface BpmnParseListener
public void parseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
parseExclusiveGateway
in interface BpmnParseListener
public void parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
parseInclusiveGateway
in interface BpmnParseListener
public void parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity)
parseCallActivity
in interface BpmnParseListener
public void parseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity)
parseManualTask
in interface BpmnParseListener
public void parseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity)
parseReceiveTask
in interface BpmnParseListener
public void parseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity)
parseScriptTask
in interface BpmnParseListener
public void parseTask(Element taskElement, ScopeImpl scope, ActivityImpl activity)
parseTask
in interface BpmnParseListener
public void parseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity)
parseUserTask
in interface BpmnParseListener
public void parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity)
parseServiceTask
in interface BpmnParseListener
public void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity)
parseBusinessRuleTask
in interface BpmnParseListener
public void parseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity)
parseSubProcess
in interface BpmnParseListener
public void parseStartEvent(Element startEventElement, ScopeImpl scope, ActivityImpl activity)
parseStartEvent
in interface BpmnParseListener
public void parseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity)
parseSendTask
in interface BpmnParseListener
public void parseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity)
parseEndEvent
in interface BpmnParseListener
public void parseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity)
parseParallelGateway
in interface BpmnParseListener
public void parseBoundaryTimerEventDefinition(Element timerEventDefinition, boolean interrupting, ActivityImpl timerActivity)
parseBoundaryTimerEventDefinition
in interface BpmnParseListener
public void parseBoundaryErrorEventDefinition(Element errorEventDefinition, boolean interrupting, ActivityImpl activity, ActivityImpl nestedErrorEventActivity)
parseBoundaryErrorEventDefinition
in interface BpmnParseListener
public void parseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity)
parseIntermediateTimerEventDefinition
in interface BpmnParseListener
public void parseProperty(Element propertyElement, VariableDeclaration variableDeclaration, ActivityImpl activity)
parseProperty
in interface BpmnParseListener
public void parseSequenceFlow(Element sequenceFlowElement, ScopeImpl scopeElement, TransitionImpl transition)
parseSequenceFlow
in interface BpmnParseListener
public void parseRootElement(Element rootElement, List<ProcessDefinitionEntity> processDefinitions)
parseRootElement
in interface BpmnParseListener
public void parseBoundarySignalEventDefinition(Element signalEventDefinition, boolean interrupting, ActivityImpl signalActivity)
parseBoundarySignalEventDefinition
in interface BpmnParseListener
public void parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity)
parseEventBasedGateway
in interface BpmnParseListener
public void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity)
parseMultiInstanceLoopCharacteristics
in interface BpmnParseListener
public void parseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity)
parseIntermediateSignalCatchEventDefinition
in interface BpmnParseListener
public void parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity)
parseTransaction
in interface BpmnParseListener
public void parseCompensateEventDefinition(Element compensateEventDefinition, ActivityImpl compensationActivity)
parseCompensateEventDefinition
in interface BpmnParseListener
public void parseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
parseIntermediateThrowEvent
in interface BpmnParseListener
public void parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
parseIntermediateCatchEvent
in interface BpmnParseListener
public void parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity)
parseBoundaryEvent
in interface BpmnParseListener
public void parseIntermediateMessageCatchEventDefinition(Element messageEventDefinition, ActivityImpl nestedActivity)
parseIntermediateMessageCatchEventDefinition
in interface BpmnParseListener
public void parseBoundaryMessageEventDefinition(Element element, boolean interrupting, ActivityImpl messageActivity)
parseBoundaryMessageEventDefinition
in interface BpmnParseListener
public void parseBoundaryEscalationEventDefinition(Element escalationEventDefinition, boolean interrupting, ActivityImpl boundaryEventActivity)
parseBoundaryEscalationEventDefinition
in interface BpmnParseListener
public void parseBoundaryConditionalEventDefinition(Element element, boolean interrupting, ActivityImpl conditionalActivity)
parseBoundaryConditionalEventDefinition
in interface BpmnParseListener
public void parseIntermediateConditionalEventDefinition(Element conditionalEventDefinition, ActivityImpl conditionalActivity)
parseIntermediateConditionalEventDefinition
in interface BpmnParseListener
public void parseConditionalStartEventForEventSubprocess(Element element, ActivityImpl conditionalActivity, boolean interrupting)
parseConditionalStartEventForEventSubprocess
in interface BpmnParseListener
protected void addActivityHandlers(ActivityImpl activity)
Copyright © 2017. All rights reserved.