Class MetadataGraphEdge
- java.lang.Object
-
- org.apache.maven.repository.metadata.MetadataGraphEdge
-
public class MetadataGraphEdge extends Object
metadata graph edge - combination of version, scope and depth define an edge in the graph- Author:
- Oleg Gusakov
-
-
Constructor Summary
Constructors Constructor Description MetadataGraphEdge(String version, boolean resolved, ArtifactScopeEnum scope, String artifactUri, int depth, int pomOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
used to eliminate exact duplicates in the edge listString
getArtifactUri()
int
getDepth()
int
getPomOrder()
ArtifactScopeEnum
getScope()
MetadataGraphVertex
getSource()
MetadataGraphVertex
getTarget()
String
getVersion()
boolean
isResolved()
void
setArtifactUri(String artifactUri)
void
setDepth(int depth)
void
setPomOrder(int pomOrder)
void
setResolved(boolean resolved)
void
setScope(ArtifactScopeEnum scope)
void
setSource(MetadataGraphVertex source)
void
setTarget(MetadataGraphVertex target)
void
setVersion(String version)
String
toString()
-
-
-
Constructor Detail
-
MetadataGraphEdge
public MetadataGraphEdge(String version, boolean resolved, ArtifactScopeEnum scope, String artifactUri, int depth, int pomOrder)
-
-
Method Detail
-
equals
public boolean equals(Object o)
used to eliminate exact duplicates in the edge list
-
getVersion
public String getVersion()
-
setVersion
public void setVersion(String version)
-
getScope
public ArtifactScopeEnum getScope()
-
setScope
public void setScope(ArtifactScopeEnum scope)
-
getDepth
public int getDepth()
-
setDepth
public void setDepth(int depth)
-
isResolved
public boolean isResolved()
-
setResolved
public void setResolved(boolean resolved)
-
getPomOrder
public int getPomOrder()
-
setPomOrder
public void setPomOrder(int pomOrder)
-
getArtifactUri
public String getArtifactUri()
-
setArtifactUri
public void setArtifactUri(String artifactUri)
-
getSource
public MetadataGraphVertex getSource()
-
setSource
public void setSource(MetadataGraphVertex source)
-
getTarget
public MetadataGraphVertex getTarget()
-
setTarget
public void setTarget(MetadataGraphVertex target)
-
-