public interface DependencyNode
Modifier and Type | Method and Description |
---|---|
boolean |
accept(DependencyNodeVisitor visitor)
Applies the specified dependency node visitor to this dependency node and its children.
|
org.apache.maven.artifact.Artifact |
getArtifact() |
java.util.List<DependencyNode> |
getChildren() |
java.lang.Boolean |
getOptional() |
DependencyNode |
getParent()
Gets the parent dependency node of this dependency node.
|
java.lang.String |
getPremanagedScope()
Gets the scope for the dependency before dependency management was applied (if any).
|
java.lang.String |
getPremanagedVersion()
Gets the version or version range for the dependency before dependency management was applied (if any).
|
java.lang.String |
getVersionConstraint()
A constraint on versions for a dependency.
|
java.lang.String |
toNodeString()
Returns a string representation of this dependency node.
|
org.apache.maven.artifact.Artifact getArtifact()
java.util.List<DependencyNode> getChildren()
boolean accept(DependencyNodeVisitor visitor)
visitor
- the dependency node visitor to useDependencyNode getParent()
java.lang.String getPremanagedVersion()
null
if the version was not managed.java.lang.String getPremanagedScope()
null
if the scope was not managed.java.lang.String getVersionConstraint()
java.lang.String toNodeString()
java.lang.Boolean getOptional()