org.apache.maven.shared.dependency.tree.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 661727 2008-05-30 14:21:49Z bentmann $
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-2012 The Apache Software Foundation. All Rights Reserved.