Package org.camunda.bpm.engine.impl.tree
Class ActivityExecutionMappingCollector
- java.lang.Object
-
- org.camunda.bpm.engine.impl.tree.ActivityExecutionMappingCollector
-
- All Implemented Interfaces:
TreeVisitor<ActivityExecution>
public class ActivityExecutionMappingCollector extends java.lang.Object implements TreeVisitor<ActivityExecution>
Collect the mappings of scopes and executions. It can be used to collect the mappings over process instances.- Author:
- Philipp Ossler
- See Also:
ActivityExecution.createActivityExecutionMapping()
-
-
Constructor Summary
Constructors Constructor Description ActivityExecutionMappingCollector(ActivityExecution execution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PvmExecutionImpl
getExecutionForScope(PvmScope scope)
void
visit(ActivityExecution execution)
Invoked for a node in tree.
-
-
-
Constructor Detail
-
ActivityExecutionMappingCollector
public ActivityExecutionMappingCollector(ActivityExecution execution)
-
-
Method Detail
-
visit
public void visit(ActivityExecution execution)
Description copied from interface:TreeVisitor
Invoked for a node in tree.- Specified by:
visit
in interfaceTreeVisitor<ActivityExecution>
- Parameters:
execution
- a reference to the node
-
getExecutionForScope
public PvmExecutionImpl getExecutionForScope(PvmScope scope)
- Returns:
- the mapped execution for scope or
null
, if no mapping exists
-
-