org.apache.maven.archiva.dependency.graph
Interface DependencyGraphBuilder


public interface DependencyGraphBuilder

DependencyGraphBuilder

Version:
$Id: DependencyGraphBuilder.java 562485 2007-08-03 14:44:15Z joakime $
Author:
Joakim Erdfelt

Method Summary
 DependencyGraph createGraph(org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
          Create a new graph, with the root of the graph for the node specified.
 void resolveNode(DependencyGraph graph, DependencyGraphNode node, org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
          Given a node and a versioned project rexpandeference, resolve the details of the node, creating any dependencies and edges as needed.
 

Method Detail

resolveNode

void resolveNode(DependencyGraph graph,
                 DependencyGraphNode node,
                 org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
Given a node and a versioned project rexpandeference, resolve the details of the node, creating any dependencies and edges as needed.

Parameters:
graph - the graph to add nodes and edges to.
node - the node where the resolution should occur.
versionedProjectReference - the versioned project reference for the node that needs to be resolved.

createGraph

DependencyGraph createGraph(org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
Create a new graph, with the root of the graph for the node specified.

Parameters:
versionedProjectReference - the root node for the graph.
Returns:
the new DependencyGraph, complete with root node and direct dependencies.


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.