Interface DependencyVisitor


public interface DependencyVisitor
Defines a hierarchical visitor for collecting dependency node trees.
Since:
0.12
Author:
Pim Moerenhout
  • Method Summary

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

    • visitEnter

      boolean visitEnter(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
    • visitLeave

      boolean visitLeave(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