public class IndexingDependencyNodeVisitor extends FilteringVisitorSupport implements org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor
Constructor and Description |
---|
IndexingDependencyNodeVisitor(org.apache.maven.plugin.logging.Log log)
Constructor of IndexingDependencyNodeVisitor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
endVisit(org.apache.maven.shared.dependency.tree.DependencyNode node)
If this method returns true then it means that the next sibling should be
visited.
|
Map |
getNodesByArtifactId()
Gets mapping of stringified artifacts (groupId + artifactId + version) to
nodes in the dependency tree.
|
Map |
getVersionByArtifactId()
Gets mapping of stringified artifacts without version (groupId +
artifactId) to stringified artifacts with version.
|
boolean |
visit(org.apache.maven.shared.dependency.tree.DependencyNode node)
If this method returns true then it means that nodes children should be
visited.
|
getLog, getVisited, isInScope, stringify, stringify, stringifyNoVersion, stringifyNoVersion, wasVisited
public IndexingDependencyNodeVisitor(org.apache.maven.plugin.logging.Log log)
log
- object used for logging.public final boolean visit(org.apache.maven.shared.dependency.tree.DependencyNode node)
visit
in interface org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor
node
- which should be checked for need of visitingpublic final boolean endVisit(org.apache.maven.shared.dependency.tree.DependencyNode node)
endVisit
in interface org.apache.maven.shared.dependency.tree.traversal.DependencyNodeVisitor
node
- which visiting should be finishedpublic final Map getNodesByArtifactId()
public final Map getVersionByArtifactId()
Copyright © 2018 universAAL Consortium. All rights reserved.