org.apache.maven.repository
Class MetadataGraph

java.lang.Object
  extended by 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
MetadataGraph()
           
MetadataGraph(MetadataGraphNode entry)
           
 
Method Summary
 void addNode(MetadataGraphNode node)
           
 MetadataGraphNode findNode(MavenArtifactMetadata md)
          find a node by the GAV (metadata)
 MetadataGraphNode getEntry()
          getter
 Collection<MetadataGraphNode> getNodes()
          getter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 -
Returns:

getEntry

public MetadataGraphNode getEntry()
getter

Returns:

getNodes

public Collection<MetadataGraphNode> getNodes()
getter

Returns:


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.