JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
org.apache.maven.api
NodeVisitor
Contents
Hide sidebar
❮
❯
Show sidebar
Description
Method Summary
Method Details
enter(Node)
leave(Node)
Interface NodeVisitor
@Experimental
@Consumer
public interface
NodeVisitor
Defines a hierarchical visitor for collecting dependency node trees.
Since:
4.0.0
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
boolean
enter
(
Node
node)
Starts the visit to the specified dependency node.
boolean
leave
(
Node
node)
Ends the visit to the specified dependency node.
Method Details
enter
boolean
enter
(
@Nonnull
Node
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
leave
boolean
leave
(
@Nonnull
Node
node)
Ends the visit 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