|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DebugNode
A node of the debug hierarchy tree. A node describes an evaluated element : template, rule or script.
This interface is not intended to be implemented by clients.
DebugHierarchy.getRootNodes()| Method Summary | |
|---|---|
List<DebugNode> |
getChildren()
Returns the list of child nodes, ordered the way the corresponding elements were evaluated. |
DebugValue |
getFailure()
Returns a description of the evaluation exception. |
DebugHierarchy |
getHierarchy()
Returns the containing debug hierarchy. |
DebugNode |
getParent()
Returns the parent node. |
boolean |
isFailed()
Returns true if the evaluation of the underlying element threw an exception. |
boolean |
isLeaf()
Returns true if this node has no child. |
boolean |
isRoot()
Returns true if this is a top-level node (no parent). |
| Method Detail |
|---|
DebugHierarchy getHierarchy()
boolean isRoot()
true if this is a top-level node (no parent).
true if this is a top-level node (no parent), false otherwise.DebugNode getParent()
null if this is a root node.boolean isLeaf()
true if this node has no child.
true if this node has no child, false otherwise.List<DebugNode> getChildren()
DebugNode.boolean isFailed()
true if the evaluation of the underlying element threw an exception.
true if the evaluation of the underlying element threw an exception, false otherwise.getFailure()DebugValue getFailure()
null if no exception thrown.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||