public class ResolvedArtifactGraph extends org.savantbuild.util.HashGraph<ResolvedArtifact,java.lang.String>
Modifier and Type | Field and Description |
---|---|
ResolvedArtifact |
root |
Constructor and Description |
---|
ResolvedArtifactGraph(ResolvedArtifact root) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.nio.file.Path |
getPath(ArtifactID id)
Brute force traverses the graph and locates the Path for the given artifact.
|
int |
hashCode() |
org.savantbuild.lang.Classpath |
toClasspath() |
java.lang.String |
toDOT()
Outputs this DependencyGraph as a GraphViz DOT file.
|
java.lang.String |
toString() |
public final ResolvedArtifact root
public ResolvedArtifactGraph(ResolvedArtifact root)
public java.nio.file.Path getPath(ArtifactID id)
id
- The id.public boolean equals(java.lang.Object o)
equals
in class org.savantbuild.util.HashGraph<ResolvedArtifact,java.lang.String>
public int hashCode()
hashCode
in class org.savantbuild.util.HashGraph<ResolvedArtifact,java.lang.String>
public org.savantbuild.lang.Classpath toClasspath()
public java.lang.String toDOT()
public java.lang.String toString()
toString
in class java.lang.Object