public class BpmndtParseListener
extends org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListener
CallActivityBehaviors to make test cases independent of sub processes.
2. Enables asynchronous continuation for multi instance activities.| Constructor and Description |
|---|
BpmndtParseListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
instrumentCallActivity(org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
Instruments the call activity by overriding it's behavior to allow isolated testing.
|
protected void |
instrumentEndActivity(List<org.camunda.bpm.engine.impl.pvm.process.ActivityImpl> activities)
Instruments the end activity, if it does not end the process.
|
protected void |
instrumentMultiInstanceActivity(org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
Instruments the given activity, if it is a multi instance activity.
|
protected void |
instrumentMultiInstanceScope(org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
Instruments the given activity, if it is a multi instance scope.
|
void |
parseBusinessRuleTask(org.camunda.bpm.engine.impl.util.xml.Element businessRuleTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseCallActivity(org.camunda.bpm.engine.impl.util.xml.Element callActivityElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseManualTask(org.camunda.bpm.engine.impl.util.xml.Element manualTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseProcess(org.camunda.bpm.engine.impl.util.xml.Element processElement,
org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity processDefinition) |
void |
parseScriptTask(org.camunda.bpm.engine.impl.util.xml.Element scriptTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseSendTask(org.camunda.bpm.engine.impl.util.xml.Element sendTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseServiceTask(org.camunda.bpm.engine.impl.util.xml.Element serviceTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseSubProcess(org.camunda.bpm.engine.impl.util.xml.Element subProcessElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseTask(org.camunda.bpm.engine.impl.util.xml.Element taskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
parseUserTask(org.camunda.bpm.engine.impl.util.xml.Element userTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity) |
void |
setInstance(TestCaseInstance instance)
Sets a reference to the related test case instance.
|
protected String |
stripMultiInstanceScopeSuffix(String activityId) |
parseBoundaryConditionalEventDefinition, parseBoundaryErrorEventDefinition, parseBoundaryEscalationEventDefinition, parseBoundaryEvent, parseBoundaryMessageEventDefinition, parseBoundarySignalEventDefinition, parseBoundaryTimerEventDefinition, parseCompensateEventDefinition, parseConditionalStartEventForEventSubprocess, parseEndEvent, parseEventBasedGateway, parseExclusiveGateway, parseInclusiveGateway, parseIntermediateCatchEvent, parseIntermediateConditionalEventDefinition, parseIntermediateMessageCatchEventDefinition, parseIntermediateSignalCatchEventDefinition, parseIntermediateThrowEvent, parseIntermediateTimerEventDefinition, parseIoMapping, parseMultiInstanceLoopCharacteristics, parseParallelGateway, parseProperty, parseReceiveTask, parseRootElement, parseSequenceFlow, parseStartEvent, parseTransactionprotected void instrumentCallActivity(org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
activity - The current activity.protected void instrumentEndActivity(List<org.camunda.bpm.engine.impl.pvm.process.ActivityImpl> activities)
activities - A list of activities, which should also contain the end activity.protected void instrumentMultiInstanceActivity(org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
scope - The surrounding scope.activity - The current activity.protected void instrumentMultiInstanceScope(org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
scope - The surrounding scope.activity - The current activity.public void parseCallActivity(org.camunda.bpm.engine.impl.util.xml.Element callActivityElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseCallActivity in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseCallActivity in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseBusinessRuleTask(org.camunda.bpm.engine.impl.util.xml.Element businessRuleTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseBusinessRuleTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseBusinessRuleTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseManualTask(org.camunda.bpm.engine.impl.util.xml.Element manualTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseManualTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseManualTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseProcess(org.camunda.bpm.engine.impl.util.xml.Element processElement,
org.camunda.bpm.engine.impl.persistence.entity.ProcessDefinitionEntity processDefinition)
parseProcess in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseProcess in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseScriptTask(org.camunda.bpm.engine.impl.util.xml.Element scriptTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseScriptTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseScriptTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseSendTask(org.camunda.bpm.engine.impl.util.xml.Element sendTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseSendTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseSendTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseServiceTask(org.camunda.bpm.engine.impl.util.xml.Element serviceTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseServiceTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseServiceTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseSubProcess(org.camunda.bpm.engine.impl.util.xml.Element subProcessElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseSubProcess in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseSubProcess in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseTask(org.camunda.bpm.engine.impl.util.xml.Element taskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void parseUserTask(org.camunda.bpm.engine.impl.util.xml.Element userTaskElement,
org.camunda.bpm.engine.impl.pvm.process.ScopeImpl scope,
org.camunda.bpm.engine.impl.pvm.process.ActivityImpl activity)
parseUserTask in interface org.camunda.bpm.engine.impl.bpmn.parser.BpmnParseListenerparseUserTask in class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListenerpublic void setInstance(TestCaseInstance instance)
instance - The related instance.Copyright © 2023 Camunda. All rights reserved.