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
-
public class ActivityExecutionHierarchyWalker extends SingleReferenceWalker<ActivityExecutionTuple>
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
Constructors Constructor Description ActivityExecutionHierarchyWalker(ActivityExecution execution)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ReferenceWalker<ActivityExecutionTuple>
addExecutionPostVisitor(TreeVisitor<ActivityExecution> visitor)
ReferenceWalker<ActivityExecutionTuple>
addExecutionPreVisitor(TreeVisitor<ActivityExecution> visitor)
ReferenceWalker<ActivityExecutionTuple>
addScopePostVisitor(TreeVisitor<PvmScope> visitor)
ReferenceWalker<ActivityExecutionTuple>
addScopePreVisitor(TreeVisitor<PvmScope> visitor)
protected static ActivityExecutionTuple
createTupel(ActivityExecution execution)
protected static PvmScope
getCurrentFlowScope(ActivityExecution execution)
protected ActivityExecutionTuple
nextElement()
-
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 Detail
-
ActivityExecutionHierarchyWalker
public ActivityExecutionHierarchyWalker(ActivityExecution execution)
-
-
Method Detail
-
nextElement
protected ActivityExecutionTuple nextElement()
- Specified by:
nextElement
in classSingleReferenceWalker<ActivityExecutionTuple>
-
createTupel
protected static ActivityExecutionTuple createTupel(ActivityExecution execution)
-
getCurrentFlowScope
protected static PvmScope getCurrentFlowScope(ActivityExecution execution)
-
addScopePreVisitor
public ReferenceWalker<ActivityExecutionTuple> addScopePreVisitor(TreeVisitor<PvmScope> visitor)
-
addScopePostVisitor
public ReferenceWalker<ActivityExecutionTuple> addScopePostVisitor(TreeVisitor<PvmScope> visitor)
-
addExecutionPreVisitor
public ReferenceWalker<ActivityExecutionTuple> addExecutionPreVisitor(TreeVisitor<ActivityExecution> visitor)
-
addExecutionPostVisitor
public ReferenceWalker<ActivityExecutionTuple> addExecutionPostVisitor(TreeVisitor<ActivityExecution> visitor)
-
-