Class ProcessApplicationEventParseListener
- java.lang.Object
-
- org.camunda.bpm.application.impl.event.ProcessApplicationEventParseListener
-
- All Implemented Interfaces:
BpmnParseListener
public class ProcessApplicationEventParseListener extends java.lang.Object implements BpmnParseListener
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutionListener
EXECUTION_LISTENER
static TaskListener
TASK_LISTENER
-
Constructor Summary
Constructors Constructor Description ProcessApplicationEventParseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addEndEventListener(ScopeImpl activity)
protected void
addStartEventListener(ScopeImpl activity)
protected void
addTakeEventListener(TransitionImpl transition)
protected void
addTaskAssignmentListeners(TaskDefinition taskDefinition)
protected void
addTaskCompleteListeners(TaskDefinition taskDefinition)
protected void
addTaskCreateListeners(TaskDefinition taskDefinition)
protected void
addTaskDeleteListeners(TaskDefinition taskDefinition)
protected void
addTaskUpdateListeners(TaskDefinition taskDefinition)
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, java.util.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 startEventActivity)
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 Detail
-
EXECUTION_LISTENER
public static final ExecutionListener EXECUTION_LISTENER
-
TASK_LISTENER
public static final TaskListener TASK_LISTENER
-
-
Method Detail
-
addEndEventListener
protected void addEndEventListener(ScopeImpl activity)
-
addStartEventListener
protected void addStartEventListener(ScopeImpl activity)
-
addTakeEventListener
protected void addTakeEventListener(TransitionImpl transition)
-
addTaskAssignmentListeners
protected void addTaskAssignmentListeners(TaskDefinition taskDefinition)
-
addTaskCreateListeners
protected void addTaskCreateListeners(TaskDefinition taskDefinition)
-
addTaskCompleteListeners
protected void addTaskCompleteListeners(TaskDefinition taskDefinition)
-
addTaskUpdateListeners
protected void addTaskUpdateListeners(TaskDefinition taskDefinition)
-
addTaskDeleteListeners
protected void addTaskDeleteListeners(TaskDefinition taskDefinition)
-
parseProcess
public void parseProcess(Element processElement, ProcessDefinitionEntity processDefinition)
- Specified by:
parseProcess
in interfaceBpmnParseListener
-
parseStartEvent
public void parseStartEvent(Element startEventElement, ScopeImpl scope, ActivityImpl startEventActivity)
- Specified by:
parseStartEvent
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
-
parseParallelGateway
public void parseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseParallelGateway
in interfaceBpmnParseListener
-
parseScriptTask
public void parseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseScriptTask
in interfaceBpmnParseListener
-
parseServiceTask
public void parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseServiceTask
in interfaceBpmnParseListener
-
parseBusinessRuleTask
public void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseBusinessRuleTask
in interfaceBpmnParseListener
-
parseTask
public void parseTask(Element taskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseTask
in interfaceBpmnParseListener
-
parseManualTask
public void parseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseManualTask
in interfaceBpmnParseListener
-
parseUserTask
public void parseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseUserTask
in interfaceBpmnParseListener
-
parseEndEvent
public void parseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseEndEvent
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
-
parseSubProcess
public void parseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseSubProcess
in interfaceBpmnParseListener
-
parseCallActivity
public void parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseCallActivity
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
-
parseSendTask
public void parseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseSendTask
in interfaceBpmnParseListener
-
parseMultiInstanceLoopCharacteristics
public void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity)
- Specified by:
parseMultiInstanceLoopCharacteristics
in interfaceBpmnParseListener
-
parseRootElement
public void parseRootElement(Element rootElement, java.util.List<ProcessDefinitionEntity> processDefinitions)
- Specified by:
parseRootElement
in interfaceBpmnParseListener
-
parseIntermediateTimerEventDefinition
public void parseIntermediateTimerEventDefinition(Element timerEventDefinition, ActivityImpl timerActivity)
- Specified by:
parseIntermediateTimerEventDefinition
in interfaceBpmnParseListener
-
parseReceiveTask
public void parseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseReceiveTask
in interfaceBpmnParseListener
-
parseIntermediateSignalCatchEventDefinition
public void parseIntermediateSignalCatchEventDefinition(Element signalEventDefinition, ActivityImpl signalActivity)
- Specified by:
parseIntermediateSignalCatchEventDefinition
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
-
parseTransaction
public void parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity)
- 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
public void parseIoMapping(Element extensionElements, ActivityImpl activity, IoMapping inputOutput)
- Specified by:
parseIoMapping
in interfaceBpmnParseListener
-
-