org.camunda.bpm.engine.impl.history.parser
Class HistoryParseListener
java.lang.Object
org.camunda.bpm.engine.impl.history.parser.HistoryParseListener
- All Implemented Interfaces:
- BpmnParseListener
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.
- Author:
- Tom Baeyens, Joram Barrez, Falko Menge, Bernd Ruecker (camunda), Christian Lipphardt (camunda), Daniel Meyer
|
Method Summary |
protected void |
addActivityHandlers(ActivityImpl activity)
|
protected void |
initExecutionListeners(HistoryEventProducer historyEventProducer,
HistoryLevel historyLevel)
|
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 |
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 |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROCESS_INSTANCE_START_LISTENER
protected ExecutionListener PROCESS_INSTANCE_START_LISTENER
PROCESS_INSTANCE_END_LISTENER
protected ExecutionListener PROCESS_INSTANCE_END_LISTENER
ACTIVITY_INSTANCE_START_LISTENER
protected ExecutionListener ACTIVITY_INSTANCE_START_LISTENER
ACTIVITY_INSTANCE_END_LISTENER
protected ExecutionListener ACTIVITY_INSTANCE_END_LISTENER
USER_TASK_ASSIGNMENT_HANDLER
protected TaskListener USER_TASK_ASSIGNMENT_HANDLER
USER_TASK_ID_HANDLER
protected TaskListener USER_TASK_ID_HANDLER
historyLevel
protected HistoryLevel historyLevel
HistoryParseListener
public HistoryParseListener(HistoryLevel historyLevel,
HistoryEventProducer historyEventProducer)
initExecutionListeners
protected void initExecutionListeners(HistoryEventProducer historyEventProducer,
HistoryLevel historyLevel)
parseProcess
public void parseProcess(Element processElement,
ProcessDefinitionEntity processDefinition)
- Specified by:
parseProcess in interface BpmnParseListener
parseExclusiveGateway
public void parseExclusiveGateway(Element exclusiveGwElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseExclusiveGateway in interface BpmnParseListener
parseInclusiveGateway
public void parseInclusiveGateway(Element inclusiveGwElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseInclusiveGateway in interface BpmnParseListener
parseCallActivity
public void parseCallActivity(Element callActivityElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseCallActivity in interface BpmnParseListener
parseManualTask
public void parseManualTask(Element manualTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseManualTask in interface BpmnParseListener
parseReceiveTask
public void parseReceiveTask(Element receiveTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseReceiveTask in interface BpmnParseListener
parseScriptTask
public void parseScriptTask(Element scriptTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseScriptTask in interface BpmnParseListener
parseTask
public void parseTask(Element taskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseTask in interface BpmnParseListener
parseUserTask
public void parseUserTask(Element userTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseUserTask in interface BpmnParseListener
parseServiceTask
public void parseServiceTask(Element serviceTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseServiceTask in interface BpmnParseListener
parseBusinessRuleTask
public void parseBusinessRuleTask(Element businessRuleTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseBusinessRuleTask in interface BpmnParseListener
parseSubProcess
public void parseSubProcess(Element subProcessElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseSubProcess in interface BpmnParseListener
parseStartEvent
public void parseStartEvent(Element startEventElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseStartEvent in interface BpmnParseListener
parseSendTask
public void parseSendTask(Element sendTaskElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseSendTask in interface BpmnParseListener
parseEndEvent
public void parseEndEvent(Element endEventElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseEndEvent in interface BpmnParseListener
parseParallelGateway
public void parseParallelGateway(Element parallelGwElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseParallelGateway in interface BpmnParseListener
parseBoundaryTimerEventDefinition
public void parseBoundaryTimerEventDefinition(Element timerEventDefinition,
boolean interrupting,
ActivityImpl timerActivity)
- Specified by:
parseBoundaryTimerEventDefinition in interface BpmnParseListener
parseBoundaryErrorEventDefinition
public void parseBoundaryErrorEventDefinition(Element errorEventDefinition,
boolean interrupting,
ActivityImpl activity,
ActivityImpl nestedErrorEventActivity)
- Specified by:
parseBoundaryErrorEventDefinition in interface BpmnParseListener
parseIntermediateTimerEventDefinition
public void parseIntermediateTimerEventDefinition(Element timerEventDefinition,
ActivityImpl timerActivity)
- Specified by:
parseIntermediateTimerEventDefinition in interface BpmnParseListener
parseProperty
public void parseProperty(Element propertyElement,
VariableDeclaration variableDeclaration,
ActivityImpl activity)
- Specified by:
parseProperty in interface BpmnParseListener
parseSequenceFlow
public void parseSequenceFlow(Element sequenceFlowElement,
ScopeImpl scopeElement,
TransitionImpl transition)
- Specified by:
parseSequenceFlow in interface BpmnParseListener
parseRootElement
public void parseRootElement(Element rootElement,
List<ProcessDefinitionEntity> processDefinitions)
- Specified by:
parseRootElement in interface BpmnParseListener
parseBoundarySignalEventDefinition
public void parseBoundarySignalEventDefinition(Element signalEventDefinition,
boolean interrupting,
ActivityImpl signalActivity)
- Specified by:
parseBoundarySignalEventDefinition in interface BpmnParseListener
parseEventBasedGateway
public void parseEventBasedGateway(Element eventBasedGwElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseEventBasedGateway in interface BpmnParseListener
parseMultiInstanceLoopCharacteristics
public void parseMultiInstanceLoopCharacteristics(Element activityElement,
Element multiInstanceLoopCharacteristicsElement,
ActivityImpl activity)
- Specified by:
parseMultiInstanceLoopCharacteristics in interface BpmnParseListener
parseIntermediateSignalCatchEventDefinition
public void parseIntermediateSignalCatchEventDefinition(Element signalEventDefinition,
ActivityImpl signalActivity)
- Specified by:
parseIntermediateSignalCatchEventDefinition in interface BpmnParseListener
parseTransaction
public void parseTransaction(Element transactionElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseTransaction in interface BpmnParseListener
parseCompensateEventDefinition
public void parseCompensateEventDefinition(Element compensateEventDefinition,
ActivityImpl compensationActivity)
- Specified by:
parseCompensateEventDefinition in interface BpmnParseListener
parseIntermediateThrowEvent
public void parseIntermediateThrowEvent(Element intermediateEventElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseIntermediateThrowEvent in interface BpmnParseListener
parseIntermediateCatchEvent
public void parseIntermediateCatchEvent(Element intermediateEventElement,
ScopeImpl scope,
ActivityImpl activity)
- Specified by:
parseIntermediateCatchEvent in interface BpmnParseListener
parseBoundaryEvent
public void parseBoundaryEvent(Element boundaryEventElement,
ScopeImpl scopeElement,
ActivityImpl activity)
- Specified by:
parseBoundaryEvent in interface BpmnParseListener
parseIntermediateMessageCatchEventDefinition
public void parseIntermediateMessageCatchEventDefinition(Element messageEventDefinition,
ActivityImpl nestedActivity)
- Specified by:
parseIntermediateMessageCatchEventDefinition in interface BpmnParseListener
parseBoundaryMessageEventDefinition
public void parseBoundaryMessageEventDefinition(Element element,
boolean interrupting,
ActivityImpl messageActivity)
- Specified by:
parseBoundaryMessageEventDefinition in interface BpmnParseListener
parseBoundaryEscalationEventDefinition
public void parseBoundaryEscalationEventDefinition(Element escalationEventDefinition,
boolean interrupting,
ActivityImpl boundaryEventActivity)
- Specified by:
parseBoundaryEscalationEventDefinition in interface BpmnParseListener
addActivityHandlers
protected void addActivityHandlers(ActivityImpl activity)
Copyright © 2015 camunda services GmbH. All rights reserved.