Package org.apache.maven.repository
Class MetadataGraph
- java.lang.Object
-
- org.apache.maven.repository.MetadataGraph
-
public class MetadataGraph extends Object
This is the main graph data structure used by the RepositorySystem to present tree and graph objects.- Author:
- Oleg Gusakov
-
-
Constructor Summary
Constructors Constructor Description MetadataGraph()
MetadataGraph(MetadataGraphNode entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addNode(MetadataGraphNode node)
MetadataGraphNode
findNode(MavenArtifactMetadata md)
find a node by the GAV (metadata)MetadataGraphNode
getEntry()
getterCollection<MetadataGraphNode>
getNodes()
getter
-
-
-
Constructor Detail
-
MetadataGraph
public MetadataGraph(MetadataGraphNode entry)
-
MetadataGraph
public MetadataGraph()
-
-
Method Detail
-
addNode
public void addNode(MetadataGraphNode node)
-
findNode
public MetadataGraphNode findNode(MavenArtifactMetadata md)
find a node by the GAV (metadata)- Parameters:
md
-
-
getEntry
public MetadataGraphNode getEntry()
getter
-
getNodes
public Collection<MetadataGraphNode> getNodes()
getter
-
-