Package org.camunda.bpm.engine.impl
Class ActivityExecutionTreeMapping
java.lang.Object
org.camunda.bpm.engine.impl.ActivityExecutionTreeMapping
Maps an activity (plain activities + their containing flow scopes) to the scope executions
that are executing them. For every instance of a scope, there is one such execution.
- Author:
- Thorben Lindhauer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<ScopeImpl,Set<ExecutionEntity>> protected CommandContextprotected ProcessDefinitionImplprotected String -
Constructor Summary
ConstructorsConstructorDescriptionActivityExecutionTreeMapping(CommandContext commandContext, String processInstanceId) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected List<ExecutionEntity>fetchExecutionsForProcessInstance(ExecutionEntity execution) protected List<ExecutionEntity>findLeaves(List<ExecutionEntity> executions) getExecution(ActivityInstance activityInstance) getExecutions(ScopeImpl activity) protected voidprotected ExecutionEntityintersect(Set<ExecutionEntity> executions, String[] executionIds) protected booleanisLeaf(ExecutionEntity execution) event-scope executions are not considered in this mapping and must be ignoredprotected voidprotected voidsubmitExecution(ExecutionEntity execution, ScopeImpl scope)
-
Field Details
-
activityExecutionMapping
-
commandContext
-
processInstanceId
-
processDefinition
-
-
Constructor Details
-
ActivityExecutionTreeMapping
-
-
Method Details
-
submitExecution
-
getExecutions
-
getExecution
-
intersect
-
initialize
protected void initialize() -
assignExecutionsToActivities
-
mergeScopeExecutions
-
fetchExecutionsForProcessInstance
-
findLeaves
-
isLeaf
event-scope executions are not considered in this mapping and must be ignored
-