public interface TestCaseActivityScope
| Modifier and Type | Method and Description |
|---|---|
List<TestCaseActivity> |
getActivities()
Gets the scope's activities.
|
org.camunda.bpm.model.bpmn.instance.FlowNode |
getFlowNode()
Gets the underlying flow node.
|
<T extends org.camunda.bpm.model.bpmn.instance.SubProcess> |
getFlowNode(Class<T> subProcessType)
Gets the underlying flow node of the given sub process type.
|
String |
getId()
Returns the ID of the underlying flow node.
|
String |
getName()
Returns the name of the underlying flow node.
|
int |
getNestingLevel()
Determines how deep the scope is nested within the BPMN process.
|
TestCaseActivityScope |
getParent()
Return the parent scope, if the scope is not a direct child of the related BPMN process element.
|
String |
getTypeName()
Returns the name of the flow node element type.
|
boolean |
hasParent()
Determines if the scope has a parent or if it is a direct child of the BPMN process element.
|
boolean |
isMultiInstance()
Determines if the scope is a multi instance.
|
boolean |
isMultiInstanceParallel()
Determines if the scope is a parallel multi instance.
|
boolean |
isMultiInstanceSequential()
Determines if the scope is a sequential multi instance.
|
List<TestCaseActivity> getActivities()
org.camunda.bpm.model.bpmn.instance.FlowNode getFlowNode()
<T extends org.camunda.bpm.model.bpmn.instance.SubProcess> T getFlowNode(Class<T> subProcessType)
T - A sub process type..subProcessType - A specific sub process type.String getId()
String getName()
int getNestingLevel()
0, means that the
scope is not nested in another scope (embedded sub process).TestCaseActivityScope getParent()
IllegalStateException - If the scope has no parent.hasParent()String getTypeName()
boolean hasParent()
true, if the scope has a parent scope. Otherwise false.boolean isMultiInstance()
true, if the scope is a multi instance. Otherwise false.boolean isMultiInstanceParallel()
true, if the scope is a parallel multi instance. Otherwise false.IllegalStateException - If the scope is not a multi instance.boolean isMultiInstanceSequential()
true, if the scope is a sequential multi instance. Otherwise false.IllegalStateException - If the scope is not a multi instance.Copyright © 2023 Camunda. All rights reserved.