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

java.lang.Objectorg.apache.maven.archiva.dependency.graph.DependencyGraph
public class DependencyGraph
DependencyGraph
| Field Summary | |
|---|---|
static int |
DISABLED_CYCLIC
|
static int |
DISABLED_EXCLUDED
|
static int |
DISABLED_NEARER_DEP
|
static int |
DISABLED_NEARER_EDGE
|
static int |
DISABLED_OPTIONAL
|
| Constructor Summary | |
|---|---|
DependencyGraph(DependencyGraphNode root)
|
|
DependencyGraph(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
|
|
| Method Summary | |
|---|---|
void |
addEdge(DependencyGraphEdge edge)
Add the edge to the DependencyGraph. |
DependencyGraphNode |
addNode(DependencyGraphNode node)
|
java.util.Collection<DependencyGraphEdge> |
getEdges()
|
java.util.List<DependencyGraphEdge> |
getEdgesFrom(DependencyGraphNode node)
Get the list of edges from the provided node. |
java.util.List<DependencyGraphEdge> |
getEdgesTo(DependencyGraphNode node)
Get the list of edges to the provided node. |
DependencyGraphNode |
getNode(org.apache.maven.archiva.model.ArtifactReference ref)
Get the node for the specified artifact reference. |
java.util.Collection<DependencyGraphNode> |
getNodes()
|
DependencyGraphNode |
getRootNode()
|
boolean |
hasEdge(DependencyGraphEdge edge)
|
boolean |
hasNode(DependencyGraphNode node)
|
void |
removeEdge(DependencyGraphEdge edge)
|
void |
removeNode(DependencyGraphNode node)
|
void |
setRootNode(DependencyGraphNode rootNode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DISABLED_CYCLIC
public static final int DISABLED_EXCLUDED
public static final int DISABLED_OPTIONAL
public static final int DISABLED_NEARER_DEP
public static final int DISABLED_NEARER_EDGE
| Constructor Detail |
|---|
public DependencyGraph(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
public DependencyGraph(DependencyGraphNode root)
| Method Detail |
|---|
public java.util.Collection<DependencyGraphEdge> getEdges()
public java.util.Collection<DependencyGraphNode> getNodes()
public DependencyGraphNode getRootNode()
public void setRootNode(DependencyGraphNode rootNode)
public void addEdge(DependencyGraphEdge edge)
DependencyGraph.
edge - the edge to add.public DependencyGraphNode addNode(DependencyGraphNode node)
public boolean hasNode(DependencyGraphNode node)
public boolean hasEdge(DependencyGraphEdge edge)
public java.util.List<DependencyGraphEdge> getEdgesFrom(DependencyGraphNode node)
node - the node to use as the 'from' side of an edge.
public java.util.List<DependencyGraphEdge> getEdgesTo(DependencyGraphNode node)
node - the node to use as the 'to' side of an edge.
public DependencyGraphNode getNode(org.apache.maven.archiva.model.ArtifactReference ref)
ref - the artifact reference to use to find the node.
public void removeEdge(DependencyGraphEdge edge)
public void removeNode(DependencyGraphNode node)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||