org.apache.maven.artifact.resolver
Class ResolutionNode
java.lang.Object
org.apache.maven.artifact.resolver.ResolutionNode
public class ResolutionNode
- extends Object
ResolutionNode
public ResolutionNode(Artifact artifact,
List remoteRepositories)
ResolutionNode
public ResolutionNode(Artifact artifact,
List remoteRepositories,
ResolutionNode parent)
setArtifact
public void setArtifact(Artifact artifact)
getArtifact
public Artifact getArtifact()
getKey
public Object getKey()
addDependencies
public void addDependencies(Set artifacts,
List remoteRepositories,
ArtifactFilter filter)
throws CyclicDependencyException,
OverConstrainedVersionException
- Throws:
CyclicDependencyException
OverConstrainedVersionException
getDependencyTrail
public List getDependencyTrail()
throws OverConstrainedVersionException
- Returns:
List
< String
> with artifact ids
- Throws:
OverConstrainedVersionException
isResolved
public boolean isResolved()
isChildOfRootNode
public boolean isChildOfRootNode()
getChildrenIterator
public Iterator getChildrenIterator()
getDepth
public int getDepth()
getRemoteRepositories
public List getRemoteRepositories()
isActive
public boolean isActive()
enable
public void enable()
disable
public void disable()
filterTrail
public boolean filterTrail(ArtifactFilter filter)
throws OverConstrainedVersionException
- Throws:
OverConstrainedVersionException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.