|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DependencyNode
Represents an artifact node within a Maven project's dependency graph.
| Method Summary | |
|---|---|
boolean |
accept(DependencyNodeVisitor visitor)
Applies the specified dependency node visitor to this dependency node and its children. |
Artifact |
getArtifact()
|
List<DependencyNode> |
getChildren()
|
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. |
| Method Detail |
|---|
Artifact getArtifact()
List<DependencyNode> getChildren()
boolean accept(DependencyNodeVisitor visitor)
visitor - the dependency node visitor to use
DependencyNode getParent()
String getPremanagedVersion()
null if the version was not managed.String getPremanagedScope()
null if the scope was not managed.String getVersionConstraint()
String toNodeString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||