Class FilteringDependencyNodeVisitor
java.lang.Object
org.apache.maven.shared.dependency.graph.traversal.FilteringDependencyNodeVisitor
- All Implemented Interfaces:
DependencyNodeVisitor
A dependency node visitor that filters nodes and delegates to another visitor.
- Since:
- 1.1
- Version:
- $Id: FilteringDependencyNodeVisitor.java 1684260 2015-06-08 19:57:54Z rfscholte $
- Author:
- Mark Hobson
-
Constructor Summary
ConstructorsConstructorDescriptionFilteringDependencyNodeVisitor
(DependencyNodeVisitor visitor, DependencyNodeFilter filter) Creates a dependency node visitor that delegates nodes that are accepted by the specified filter to the specified visitor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
endVisit
(DependencyNode node) Ends the visit to to the specified dependency node.Gets the dependency node filter that this visitor applies before delegation.Gets the dependency node visitor that this visitor delegates to.boolean
visit
(DependencyNode node) Starts the visit to the specified dependency node.
-
Constructor Details
-
Method Details
-
getDependencyNodeVisitor
Gets the dependency node visitor that this visitor delegates to.- Returns:
- the dependency node visitor
-
getDependencyNodeFilter
Gets the dependency node filter that this visitor applies before delegation.- Returns:
- the dependency node filter