Class ExecutionTree
java.lang.Object
org.operaton.bpm.engine.test.util.ExecutionTree
- All Implemented Interfaces:
Execution
- Author:
- Thorben Lindhauer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ExecutionTree> protected ExecutionTreeprotected Execution -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExecutionTree(Execution execution, List<ExecutionTree> children) -
Method Summary
Modifier and TypeMethodDescriptionvoidappendString(String prefix, StringBuilder sb) protected static StringexecutionTreeToString(ExecutionTree executionTree) static ExecutionTreeforExecution(String executionId, ProcessEngine processEngine) protected static ExecutionTreeforExecution(ExecutionEntity execution) getId()The unique identifier of the execution.getLeafExecutions(String activityId) The Key of the process definition.Id of the root of the execution tree representing the process instance.The id of the tenant this execution belongs to.booleanisEnded()Indicates if the execution is ended.isScope()booleanIndicates if the execution is suspended.toString()
-
Field Details
-
parent
-
children
-
wrappedExecution
-
-
Constructor Details
-
ExecutionTree
-
-
Method Details
-
forExecution
-
forExecution
-
getExecutions
-
getLeafExecutions
-
getId
Description copied from interface:ExecutionThe unique identifier of the execution. -
isSuspended
public boolean isSuspended()Description copied from interface:ExecutionIndicates if the execution is suspended.- Specified by:
isSuspendedin interfaceExecution
-
isEnded
public boolean isEnded()Description copied from interface:ExecutionIndicates if the execution is ended. -
getProcessInstanceId
Description copied from interface:ExecutionId of the root of the execution tree representing the process instance. It is the same asExecution.getId()if this execution is the process instance.- Specified by:
getProcessInstanceIdin interfaceExecution
-
getParent
-
getActivityId
-
isScope
-
isConcurrent
-
isEventScope
-
getTenantId
Description copied from interface:ExecutionThe id of the tenant this execution belongs to. Can benullif the execution belongs to no single tenant.- Specified by:
getTenantIdin interfaceExecution
-
getExecution
-
toString
-
appendString
-
executionTreeToString
-
getProcessDefinitionKey
Description copied from interface:ExecutionThe Key of the process definition.- Specified by:
getProcessDefinitionKeyin interfaceExecution
-