org.apache.maven.shared.dependency.graph.traversal
Interface DependencyNodeVisitor

All Known Implementing Classes:
BuildingDependencyNodeVisitor, CollectingDependencyNodeVisitor, FilteringDependencyNodeVisitor, SerializingDependencyNodeVisitor

public interface DependencyNodeVisitor

Defines a hierarchical visitor for processing dependency node trees.

Since:
1.1
Version:
$Id: DependencyNodeVisitor.java 1351166 2012-06-17 21:15:54Z hboutemy $
Author:
Mark Hobson

Method Summary
 boolean endVisit(DependencyNode node)
          Ends the visit to to the specified dependency node.
 boolean visit(DependencyNode node)
          Starts the visit to the specified dependency node.
 

Method Detail

visit

boolean visit(DependencyNode node)
Starts the visit to the specified dependency node.

Parameters:
node - the dependency node to visit
Returns:
true to visit the specified dependency node's children, false to skip the specified dependency node's children and proceed to its next sibling

endVisit

boolean endVisit(DependencyNode node)
Ends the visit to to the specified dependency node.

Parameters:
node - the dependency node to visit
Returns:
true to visit the specified dependency node's next sibling, false to skip the specified dependency node's next siblings and proceed to its parent


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.