Package org.camunda.bpm.engine.impl.tree
Class ActivityExecutionHierarchyWalker
java.lang.Object
org.camunda.bpm.engine.impl.tree.ReferenceWalker<T>
org.camunda.bpm.engine.impl.tree.SingleReferenceWalker<ActivityExecutionTuple>
org.camunda.bpm.engine.impl.tree.ActivityExecutionHierarchyWalker
Combination of flow scope and execution walker. Walks the flow scope
hierarchy upwards from the given execution to the top level process instance.
- Author:
- Philipp Ossler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
ReferenceWalker.NullCondition<S>, ReferenceWalker.WalkCondition<S>
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
currentElements, postVisitor, preVisitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddScopePostVisitor
(TreeVisitor<PvmScope> visitor) addScopePreVisitor
(TreeVisitor<PvmScope> visitor) protected static ActivityExecutionTuple
createTuple
(ActivityExecution execution) protected static PvmScope
getCurrentFlowScope
(ActivityExecution execution) protected ActivityExecutionTuple
Methods inherited from class org.camunda.bpm.engine.impl.tree.SingleReferenceWalker
nextElements
Methods inherited from class org.camunda.bpm.engine.impl.tree.ReferenceWalker
addPostVisitor, addPreVisitor, getCurrentElement, walkUntil, walkUntil, walkWhile, walkWhile
-
Constructor Details
-
ActivityExecutionHierarchyWalker
-
-
Method Details
-
nextElement
- Specified by:
nextElement
in classSingleReferenceWalker<ActivityExecutionTuple>
-
createTuple
-
getCurrentFlowScope
-
addScopePreVisitor
-
addScopePostVisitor
-
addExecutionPreVisitor
public ReferenceWalker<ActivityExecutionTuple> addExecutionPreVisitor(TreeVisitor<ActivityExecution> visitor) -
addExecutionPostVisitor
public ReferenceWalker<ActivityExecutionTuple> addExecutionPostVisitor(TreeVisitor<ActivityExecution> visitor)
-