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 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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExecutionForScope
(PvmScope scope) void
visit
(ActivityExecution execution) Invoked for a node in tree.
-
Constructor Details
-
ActivityExecutionMappingCollector
-
-
Method Details
-
visit
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
- Returns:
- the mapped execution for scope or
null
, if no mapping exists
-