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() |
List<DependencyNode> |
getChildren() |
List<org.apache.maven.model.Exclusion> |
getExclusions() |
Boolean |
getOptional() |
DependencyNode |
getParent()
Gets the parent dependency node of this dependency node.
|
String |
getPremanagedScope()
Gets the scope for the dependency before dependency management was applied (if any).
|
String |
getPremanagedVersion()
Gets the version or version range for the dependency before dependency management was applied (if any).
|
String |
getVersionConstraint()
A constraint on versions for a dependency.
|
String |
toNodeString()
Returns a string representation of this dependency node.
|
org.apache.maven.artifact.Artifact getArtifact()
List<DependencyNode> getChildren()
boolean accept(DependencyNodeVisitor visitor)
visitor
- the dependency node visitor to useDependencyNode getParent()
String getPremanagedVersion()
null
if the version was not managed.String getPremanagedScope()
null
if the scope was not managed.String getVersionConstraint()
String toNodeString()
Boolean getOptional()
List<org.apache.maven.model.Exclusion> getExclusions()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.