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 1595642 2014-05-18 17:32:08Z jvanzyl $
Author:
Mark Hobson
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Ends the visit to to the specified dependency node.
    boolean
    Starts the visit to the specified dependency node.
  • Method Details

    • 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