|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.shared.dependency.graph.traversal.CollectingDependencyNodeVisitor
public class CollectingDependencyNodeVisitor
A dependency node visitor that collects visited nodes for further processing.
Constructor Summary | |
---|---|
CollectingDependencyNodeVisitor()
Creates a dependency node visitor that collects visited nodes for further processing. |
Method Summary | |
---|---|
boolean |
endVisit(DependencyNode node)
Ends the visit to to the specified dependency node. |
List<DependencyNode> |
getNodes()
Gets the list of collected dependency nodes. |
boolean |
visit(DependencyNode node)
Starts the visit to the specified dependency node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectingDependencyNodeVisitor()
Method Detail |
---|
public boolean visit(DependencyNode node)
visit
in interface DependencyNodeVisitor
node
- the dependency node to visit
true
to visit the specified dependency node's children, false
to skip the
specified dependency node's children and proceed to its next siblingpublic boolean endVisit(DependencyNode node)
endVisit
in interface DependencyNodeVisitor
node
- the dependency node to visit
true
to visit the specified dependency node's next sibling, false
to skip
the specified dependency node's next siblings and proceed to its parentpublic List<DependencyNode> getNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |