Class ResolutionNode
java.lang.Object
org.apache.maven.artifact.resolver.ResolutionNode
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResolutionNode
(Artifact artifact, List remoteRepositories) ResolutionNode
(Artifact artifact, List remoteRepositories, ResolutionNode parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependencies
(Set artifacts, List remoteRepositories, ArtifactFilter filter) void
disable()
void
enable()
boolean
filterTrail
(ArtifactFilter filter) int
getDepth()
getKey()
private List
getTrail()
boolean
isActive()
boolean
boolean
void
setArtifact
(Artifact artifact) toString()
-
Field Details
-
artifact
-
children
-
parents
-
depth
private final int depth -
parent
-
remoteRepositories
-
active
private boolean active -
trail
-
-
Constructor Details
-
ResolutionNode
-
ResolutionNode
-
-
Method Details
-
setArtifact
-
getArtifact
-
getKey
-
addDependencies
public void addDependencies(Set artifacts, List remoteRepositories, ArtifactFilter filter) throws CyclicDependencyException, OverConstrainedVersionException -
getDependencyTrail
- Returns:
List
<String
> with artifact ids- Throws:
OverConstrainedVersionException
-
getTrail
- Throws:
OverConstrainedVersionException
-
isResolved
public boolean isResolved() -
isChildOfRootNode
public boolean isChildOfRootNode() -
getChildrenIterator
-
getDepth
public int getDepth() -
getRemoteRepositories
-
isActive
public boolean isActive() -
enable
public void enable() -
disable
public void disable() -
filterTrail
- Throws:
OverConstrainedVersionException
-
toString
-