This project has retired. For details please refer to its
Attic page .
ProjectModelBasedGraphBuilder
org.apache.maven.archiva.dependency.graph
Class ProjectModelBasedGraphBuilder
java.lang.Object
org.apache.maven.archiva.dependency.graph.ProjectModelBasedGraphBuilder
All Implemented Interfaces: DependencyGraphBuilder
public class ProjectModelBasedGraphBuilder extends java.lang.Objectimplements DependencyGraphBuilder
ProjectModelBasedGraphBuilder
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 fromNode,
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.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ProjectModelBasedGraphBuilder
public ProjectModelBasedGraphBuilder ()
createGraph
public DependencyGraph createGraph (org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
Description copied from interface: DependencyGraphBuilder
Create a new graph, with the root of the graph for the node specified.
Specified by: createGraph
in interface DependencyGraphBuilder
Parameters: versionedProjectReference
- the root node for the graph.
Returns: the new DependencyGraph, complete with root node and direct dependencies.
resolveNode
public void resolveNode (DependencyGraph graph,
DependencyGraphNode fromNode,
org.apache.maven.archiva.model.VersionedReference versionedProjectReference)
Description copied from interface: DependencyGraphBuilder
Given a node and a versioned project rexpandeference, resolve the details of the node, creating
any dependencies and edges as needed.
Specified by: resolveNode
in interface DependencyGraphBuilder
Parameters: graph
- the graph to add nodes and edges to.fromNode
- the node where the resolution should occur.versionedProjectReference
- the versioned project reference for the node
that needs to be resolved.