|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.graphing.model.GraphModel
public class GraphModel
Graph Model.
| Field Summary | |
|---|---|
static int |
EDGE_COMPILE_DEPENDENCY
Edge type for a compile dependency from node1 to node2 |
static int |
EDGE_NORMAL
Edge type for 2 nodes that are equivalent and have no dependency |
static int |
EDGE_PARENT
Edge type for 2 nodes that are equivalent and have no dependency |
static int |
EDGE_PROVIDED_DEPENDENCY
Edge type for a provided dependency from node1 to node2 |
static int |
EDGE_RUNTIME_DEPENDENCY
Edge type for a runtime dependency from node1 to node2 |
static int |
EDGE_SYSTEM_DEPENDENCY
Edge type for a system dependency from node1 to node2 |
static int |
EDGE_TEST_DEPENDENCY
Edge type for a test dependency from node1 to node2 |
static int |
NODE_ERROR
Node type for a node with an error. |
static int |
NODE_NORMAL
Node type for a normal node. |
static int |
NODE_PROJECT
Node type for the node representing the project. |
| Constructor Summary | |
|---|---|
GraphModel()
Create a GraphModel. |
|
| Method Summary | |
|---|---|
boolean |
addEdge(Edge edge)
Add an edge. |
boolean |
addNode(Node node)
Add a node. |
Node |
getCenterNode()
|
java.util.Iterator |
getEdgesIterator()
|
java.util.Iterator |
getNodesIterator()
|
void |
setCenterNode(Node centerNode)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int EDGE_NORMAL
public static final int EDGE_PARENT
public static final int EDGE_COMPILE_DEPENDENCY
public static final int EDGE_TEST_DEPENDENCY
public static final int EDGE_RUNTIME_DEPENDENCY
public static final int EDGE_PROVIDED_DEPENDENCY
public static final int EDGE_SYSTEM_DEPENDENCY
public static final int NODE_NORMAL
public static final int NODE_PROJECT
public static final int NODE_ERROR
| Constructor Detail |
|---|
public GraphModel()
| Method Detail |
|---|
public boolean addEdge(Edge edge)
edge - public java.util.Iterator getEdgesIterator()
public boolean addNode(Node node)
node - public java.util.Iterator getNodesIterator()
public Node getCenterNode()
public void setCenterNode(Node centerNode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||