Interface DependencyVisitor
-
public interface DependencyVisitorDefines a hierarchical visitor for collecting dependency node trees.- Since:
- 0.12
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvisitEnter(DependencyNode node)Starts the visit to the specified dependency node.booleanvisitLeave(DependencyNode node)Ends the visit to to the specified dependency node.
-
-
-
Method Detail
-
visitEnter
boolean visitEnter(DependencyNode node)
Starts the visit to the specified dependency node.- Parameters:
node- the dependency node to visit- Returns:
trueto visit the specified dependency node's children,falseto skip the specified dependency node's children and proceed to its next sibling
-
visitLeave
boolean visitLeave(DependencyNode node)
Ends the visit to to the specified dependency node.- Parameters:
node- the dependency node to visit- Returns:
trueto visit the specified dependency node's next sibling,falseto skip the specified dependency node's next siblings and proceed to its parent
-
-