public abstract class FilteringVisitorSupport extends Object
Constructor and Description |
---|
FilteringVisitorSupport(org.apache.maven.plugin.logging.Log log)
Constructor of FilteringVisitorSupport.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.maven.plugin.logging.Log |
getLog()
Gets the log object.
|
protected Set<String> |
getVisited()
Gets set of visited nodes.
|
protected boolean |
isInScope(org.apache.maven.shared.dependency.tree.DependencyNode node)
Check if DepdencyNode is in the scope.
|
static String |
stringify(org.apache.maven.artifact.Artifact artifact)
Stringify Artifact to string a in a following way:
groupId:artifactId:version.
|
protected String |
stringify(org.apache.maven.shared.dependency.tree.DependencyNode node)
Stringify DependencyNode to a string in a following way:
groupId:artifactId:version.
|
protected String |
stringifyNoVersion(org.apache.maven.artifact.Artifact artifact)
Stringify Artifact to a string in a following way: groupId:artifactId.
|
protected String |
stringifyNoVersion(org.apache.maven.shared.dependency.tree.DependencyNode node)
Stringify DependencyNode to a string in a following way:
groupId:artifactId.
|
protected boolean |
wasVisited(org.apache.maven.shared.dependency.tree.DependencyNode node)
Check if node was visited.
|
public FilteringVisitorSupport(org.apache.maven.plugin.logging.Log log)
log
- object used for logging.public static String stringify(org.apache.maven.artifact.Artifact artifact)
artifact
- which should be stringifiedprotected final String stringify(org.apache.maven.shared.dependency.tree.DependencyNode node)
node
- which should be stringifiedprotected final String stringifyNoVersion(org.apache.maven.artifact.Artifact artifact)
artifact
- which should be stringifiedprotected final String stringifyNoVersion(org.apache.maven.shared.dependency.tree.DependencyNode node)
node
- which should be stringifiedprotected final boolean wasVisited(org.apache.maven.shared.dependency.tree.DependencyNode node)
node
- which should be checked for being visitedprotected final boolean isInScope(org.apache.maven.shared.dependency.tree.DependencyNode node)
node
- which should be checked for being in scopeprotected final org.apache.maven.plugin.logging.Log getLog()
Copyright © 2015 universAAL Consortium. All Rights Reserved.