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
Modifier and TypeFieldDescriptionprotected Map<ScopeImpl,
Set<ExecutionEntity>> protected CommandContext
protected ProcessDefinitionImpl
protected String
-
Constructor Summary
ConstructorDescriptionActivityExecutionTreeMapping
(CommandContext commandContext, String processInstanceId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected List<ExecutionEntity>
fetchExecutionsForProcessInstance
(ExecutionEntity execution) protected List<ExecutionEntity>
findLeaves
(List<ExecutionEntity> executions) getExecution
(ActivityInstance activityInstance) getExecutions
(ScopeImpl activity) protected void
protected ExecutionEntity
intersect
(Set<ExecutionEntity> executions, String[] executionIds) protected boolean
isLeaf
(ExecutionEntity execution) event-scope executions are not considered in this mapping and must be ignoredprotected void
protected void
submitExecution
(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
-