org.camunda.bpm.engine.impl.tree
Class ActivityExecutionHierarchyWalker

java.lang.Object
  extended by org.camunda.bpm.engine.impl.tree.TreeWalker<ActivityExecutionTuple>
      extended by org.camunda.bpm.engine.impl.tree.ActivityExecutionHierarchyWalker

public class ActivityExecutionHierarchyWalker
extends TreeWalker<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.TreeWalker
TreeWalker.NullCondition<S>, TreeWalker.WalkCondition<S>
 
Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.tree.TreeWalker
currentElement, postVisitor, preVisitor
 
Constructor Summary
ActivityExecutionHierarchyWalker(ActivityExecution execution)
           
 
Method Summary
 TreeWalker<ActivityExecutionTuple> addExecutionPostVisitor(TreeVisitor<ActivityExecution> visitor)
           
 TreeWalker<ActivityExecutionTuple> addExecutionPreVisitor(TreeVisitor<ActivityExecution> visitor)
           
 TreeWalker<ActivityExecutionTuple> addScopePostVisitor(TreeVisitor<PvmScope> visitor)
           
 TreeWalker<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.TreeWalker
addPostVisitor, addPreVisitor, getCurrentElement, walkUntil, walkUntil, walkWhile, walkWhile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivityExecutionHierarchyWalker

public ActivityExecutionHierarchyWalker(ActivityExecution execution)
Method Detail

nextElement

protected ActivityExecutionTuple nextElement()
Specified by:
nextElement in class TreeWalker<ActivityExecutionTuple>

createTupel

protected static ActivityExecutionTuple createTupel(ActivityExecution execution)

getCurrentFlowScope

protected static PvmScope getCurrentFlowScope(ActivityExecution execution)

addScopePreVisitor

public TreeWalker<ActivityExecutionTuple> addScopePreVisitor(TreeVisitor<PvmScope> visitor)

addScopePostVisitor

public TreeWalker<ActivityExecutionTuple> addScopePostVisitor(TreeVisitor<PvmScope> visitor)

addExecutionPreVisitor

public TreeWalker<ActivityExecutionTuple> addExecutionPreVisitor(TreeVisitor<ActivityExecution> visitor)

addExecutionPostVisitor

public TreeWalker<ActivityExecutionTuple> addExecutionPostVisitor(TreeVisitor<ActivityExecution> visitor)


Copyright © 2016 camunda services GmbH. All rights reserved.