public class ActivityExecutionTreeMapping extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<ScopeImpl,Set<ExecutionEntity>> |
activityExecutionMapping |
protected CommandContext |
commandContext |
protected ProcessDefinitionImpl |
processDefinition |
protected String |
processInstanceId |
Constructor and Description |
---|
ActivityExecutionTreeMapping(CommandContext commandContext,
String processInstanceId) |
Modifier and Type | Method and Description |
---|---|
protected void |
assignExecutionsToActivities(List<ExecutionEntity> leaves) |
protected List<ExecutionEntity> |
fetchExecutionsForProcessInstance(ExecutionEntity execution) |
protected List<ExecutionEntity> |
findLeaves(List<ExecutionEntity> executions) |
ExecutionEntity |
getExecution(ActivityInstance activityInstance) |
Set<ExecutionEntity> |
getExecutions(ScopeImpl activity) |
protected void |
initialize() |
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 ignored
|
protected void |
mergeScopeExecutions(ExecutionEntity leaf) |
protected void |
submitExecution(ExecutionEntity execution,
ScopeImpl scope) |
protected Map<ScopeImpl,Set<ExecutionEntity>> activityExecutionMapping
protected CommandContext commandContext
protected String processInstanceId
protected ProcessDefinitionImpl processDefinition
public ActivityExecutionTreeMapping(CommandContext commandContext, String processInstanceId)
protected void submitExecution(ExecutionEntity execution, ScopeImpl scope)
public Set<ExecutionEntity> getExecutions(ScopeImpl activity)
public ExecutionEntity getExecution(ActivityInstance activityInstance)
protected ExecutionEntity intersect(Set<ExecutionEntity> executions, String[] executionIds)
protected void initialize()
protected void assignExecutionsToActivities(List<ExecutionEntity> leaves)
protected void mergeScopeExecutions(ExecutionEntity leaf)
protected List<ExecutionEntity> fetchExecutionsForProcessInstance(ExecutionEntity execution)
protected List<ExecutionEntity> findLeaves(List<ExecutionEntity> executions)
protected boolean isLeaf(ExecutionEntity execution)
Copyright © 2021. All rights reserved.