public class ResolutionNode extends Object
Constructor and Description |
---|
ResolutionNode(Artifact artifact,
List<ArtifactRepository> remoteRepositories) |
ResolutionNode(Artifact artifact,
List<ArtifactRepository> remoteRepositories,
ResolutionNode parent) |
Modifier and Type | Method and Description |
---|---|
void |
addDependencies(Set<Artifact> artifacts,
List<ArtifactRepository> remoteRepositories,
ArtifactFilter filter) |
void |
disable() |
void |
enable() |
boolean |
filterTrail(ArtifactFilter filter) |
Artifact |
getArtifact() |
Iterator<ResolutionNode> |
getChildrenIterator() |
List<String> |
getDependencyTrail() |
int |
getDepth() |
Object |
getKey() |
List<ArtifactRepository> |
getRemoteRepositories() |
boolean |
isActive() |
boolean |
isChildOfRootNode()
Test whether the node is direct or transitive dependency.
|
boolean |
isResolved() |
void |
setArtifact(Artifact artifact) |
String |
toString() |
public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories)
public ResolutionNode(Artifact artifact, List<ArtifactRepository> remoteRepositories, ResolutionNode parent)
public Artifact getArtifact()
public Object getKey()
public void addDependencies(Set<Artifact> artifacts, List<ArtifactRepository> remoteRepositories, ArtifactFilter filter) throws CyclicDependencyException, OverConstrainedVersionException
public List<String> getDependencyTrail() throws OverConstrainedVersionException
List
< String
> with artifact idsOverConstrainedVersionException
public boolean isResolved()
public boolean isChildOfRootNode()
public Iterator<ResolutionNode> getChildrenIterator()
public int getDepth()
public List<ArtifactRepository> getRemoteRepositories()
public boolean isActive()
public void enable()
public void disable()
public boolean filterTrail(ArtifactFilter filter) throws OverConstrainedVersionException
OverConstrainedVersionException
public void setArtifact(Artifact artifact)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.