This project has retired. For details please refer to its Attic page.
DependencyManagementApplier

org.apache.maven.archiva.dependency.graph.tasks
Class DependencyManagementApplier

Package class diagram package DependencyManagementApplier
java.lang.Object
  extended by org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
      extended by org.apache.maven.archiva.dependency.graph.tasks.DependencyManagementApplier
All Implemented Interfaces:
DependencyGraphVisitor

public class DependencyManagementApplier
extends BaseVisitor
implements DependencyGraphVisitor

Takes a stack of DependencyManagement objects and applies them to the node in question. This merely sets the version / scope / and exclusions on the nodes, as defined by DependencyManagement.


Field Summary
 
Fields inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
graph
 
Constructor Summary
DependencyManagementApplier()
           
 
Method Summary
 void discoverGraph(DependencyGraph graph)
          Called once, for when the graph itself is discovered.
 void discoverNode(DependencyGraphNode node)
          Called for each node, when that node is visited.
 void finishGraph(DependencyGraph graph)
          Called once, for when the graph is finished being visited.
 void finishNode(DependencyGraphNode node)
          Called for each node, when the node has been fully visited.
 DependencyGraphBuilder getBuilder()
           
 boolean hasCreatedNodes()
           
 void setBuilder(DependencyGraphBuilder builder)
           
 
Methods inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor
discoverEdge, finishEdge, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.archiva.dependency.graph.walk.DependencyGraphVisitor
discoverEdge, finishEdge
 

Constructor Detail

DependencyManagementApplier

public DependencyManagementApplier()
Method Detail

discoverGraph

public void discoverGraph(DependencyGraph graph)
Description copied from interface: DependencyGraphVisitor
Called once, for when the graph itself is discovered.

Specified by:
discoverGraph in interface DependencyGraphVisitor
Overrides:
discoverGraph in class BaseVisitor
Parameters:
graph - the graph that was discovered.

discoverNode

public void discoverNode(DependencyGraphNode node)
Description copied from interface: DependencyGraphVisitor
Called for each node, when that node is visited.

Specified by:
discoverNode in interface DependencyGraphVisitor
Overrides:
discoverNode in class BaseVisitor
Parameters:
node - the node that is being visited.

finishNode

public void finishNode(DependencyGraphNode node)
Description copied from interface: DependencyGraphVisitor
Called for each node, when the node has been fully visited.

Specified by:
finishNode in interface DependencyGraphVisitor
Overrides:
finishNode in class BaseVisitor
Parameters:
node - the node that was finished being visited.

finishGraph

public void finishGraph(DependencyGraph graph)
Description copied from interface: DependencyGraphVisitor
Called once, for when the graph is finished being visited.

Specified by:
finishGraph in interface DependencyGraphVisitor
Overrides:
finishGraph in class BaseVisitor
Parameters:
graph - the graph that finished being visited.

getBuilder

public DependencyGraphBuilder getBuilder()

setBuilder

public void setBuilder(DependencyGraphBuilder builder)

hasCreatedNodes

public boolean hasCreatedNodes()