public class FindTestElementsUpToRootTraverser
extends java.lang.Object
implements org.apache.jorphan.collections.HashTreeTraverser
| Constructor and Description |
|---|
FindTestElementsUpToRootTraverser(java.lang.Object nodeToFind) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(java.lang.Object node,
org.apache.jorphan.collections.HashTree subTree) |
java.util.List<Controller> |
getControllersToRoot()
Returns all controllers that where in Tree down to nodeToFind in reverse order (from leaf to root)
|
void |
processPath() |
void |
subtractNode() |
public FindTestElementsUpToRootTraverser(java.lang.Object nodeToFind)
nodeToFind - Node to findpublic void addNode(java.lang.Object node,
org.apache.jorphan.collections.HashTree subTree)
addNode in interface org.apache.jorphan.collections.HashTreeTraverserpublic void subtractNode()
subtractNode in interface org.apache.jorphan.collections.HashTreeTraverserpublic void processPath()
processPath in interface org.apache.jorphan.collections.HashTreeTraverserpublic java.util.List<Controller> getControllersToRoot()
ControllerCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.