|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectorg.apache.maven.archiva.dependency.graph.walk.BaseVisitor
org.apache.maven.archiva.dependency.graph.tasks.GraphCopier
public class GraphCopier
GraphCopier
| Field Summary | |
|---|---|
protected DependencyGraph |
copiedGraph
|
| Fields inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor |
|---|
graph |
| Constructor Summary | |
|---|---|
GraphCopier()
|
|
| Method Summary | |
|---|---|
void |
copyEdge(DependencyGraphEdge edge)
|
void |
discoverEdge(DependencyGraphEdge edge)
Be sure to override and NOT call this method in your sub class, if you want to copy edges based on some kind of criteria. |
void |
discoverNode(DependencyGraphNode node)
Called for each node, when that node is visited. |
DependencyGraph |
getGraph()
|
void |
reset()
|
void |
setGraph(DependencyGraph graph)
|
| Methods inherited from class org.apache.maven.archiva.dependency.graph.walk.BaseVisitor |
|---|
discoverGraph, finishEdge, finishGraph, finishNode, 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 |
|---|
discoverGraph, finishEdge, finishGraph, finishNode |
| Field Detail |
|---|
protected DependencyGraph copiedGraph
| Constructor Detail |
|---|
public GraphCopier()
| Method Detail |
|---|
public DependencyGraph getGraph()
public void setGraph(DependencyGraph graph)
public void discoverNode(DependencyGraphNode node)
DependencyGraphVisitor
discoverNode in interface DependencyGraphVisitordiscoverNode in class BaseVisitornode - the node that is being visited.public void discoverEdge(DependencyGraphEdge edge)
discoverEdge in interface DependencyGraphVisitordiscoverEdge in class BaseVisitoredge - the edge that is being visited.public void copyEdge(DependencyGraphEdge edge)
public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||