Package org.activiti.engine.debug
Class ExecutionTree
- java.lang.Object
-
- org.activiti.engine.debug.ExecutionTree
-
- All Implemented Interfaces:
Iterable<ExecutionTreeNode>
public class ExecutionTree extends Object implements Iterable<ExecutionTreeNode>
-
-
Field Summary
Fields Modifier and Type Field Description protected ExecutionTreeNoderoot
-
Constructor Summary
Constructors Constructor Description ExecutionTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutionTreeBfsIteratorbfsIterator()ExecutionTreeNodegetRoot()ExecutionTreeNodegetTreeNode(String executionId)Looks up theExecutionEntityfor a given id.protected ExecutionTreeNodegetTreeNode(String executionId, ExecutionTreeNode currentNode)Iterator<ExecutionTreeNode>iterator()ExecutionTreeBfsIteratorleafsFirstIterator()Uses anExecutionTreeBfsIterator, but returns the leafs first (so flipped order of BFS)voidsetRoot(ExecutionTreeNode root)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
root
protected ExecutionTreeNode root
-
-
Method Detail
-
getRoot
public ExecutionTreeNode getRoot()
-
setRoot
public void setRoot(ExecutionTreeNode root)
-
getTreeNode
public ExecutionTreeNode getTreeNode(String executionId)
Looks up theExecutionEntityfor a given id.
-
getTreeNode
protected ExecutionTreeNode getTreeNode(String executionId, ExecutionTreeNode currentNode)
-
iterator
public Iterator<ExecutionTreeNode> iterator()
- Specified by:
iteratorin interfaceIterable<ExecutionTreeNode>
-
bfsIterator
public ExecutionTreeBfsIterator bfsIterator()
-
leafsFirstIterator
public ExecutionTreeBfsIterator leafsFirstIterator()
Uses anExecutionTreeBfsIterator, but returns the leafs first (so flipped order of BFS)
-
-