org.apache.maven.repository
Class MetadataGraph

java.lang.Object
  extended by org.apache.maven.repository.MetadataGraph

public class MetadataGraph
extends java.lang.Object

This is the main graph data structure used by the RepositorySystem to present tree and graph objects.

Version:
$Id: MetadataGraph.java 789541 2009-06-30 03:04:34Z jvanzyl $
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
 java.util.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 java.util.Collection<MetadataGraphNode> getNodes()
getter

Returns:


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