public class BuildingDependencyNodeVisitor extends Object implements org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
Constructor and Description |
---|
BuildingDependencyNodeVisitor()
Creates a dependency node visitor that clones visited nodes into a new dependency tree.
|
BuildingDependencyNodeVisitor(org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor visitor)
Creates a dependency node visitor that clones visited nodes into a new dependency tree, and then applies the
specified dependency node visitor on the resultant dependency tree.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node) |
org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor |
getDependencyNodeVisitor()
Gets the dependency node visitor that this visitor applies on the resultant dependency tree.
|
org.apache.maven.shared.dependency.graph.DependencyNode |
getDependencyTree()
Gets the root node of the resultant dependency tree constructed by this visitor.
|
boolean |
visit(org.apache.maven.shared.dependency.graph.DependencyNode node) |
public BuildingDependencyNodeVisitor()
public BuildingDependencyNodeVisitor(org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor visitor)
visitor
- the dependency node visitor to apply on the resultant dependency tree, or null
for
nonepublic boolean visit(org.apache.maven.shared.dependency.graph.DependencyNode node)
visit
in interface org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
public boolean endVisit(org.apache.maven.shared.dependency.graph.DependencyNode node)
endVisit
in interface org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor
public org.apache.maven.shared.dependency.graph.traversal.DependencyNodeVisitor getDependencyNodeVisitor()
null
for nonepublic org.apache.maven.shared.dependency.graph.DependencyNode getDependencyTree()
null
if the source tree has not yet been visitedCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.