|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Graph
A Graph corresponds to a process definition. It has a set of Nodes, which correspond to actions that need to be taken for the process to complete. It also has a set of Arcs which define the relationships between the Nodes.
Method Summary | |
---|---|
List<Arc> |
getArcs()
Returns a list of all arcs in the graph. |
String |
getCustomId()
Users may associate custom ids with a graph. |
List<Arc> |
getInputArcs(Node node)
Returns a list of arcs which have the given node as an end point. |
List<Arc> |
getInputArcs(Node node,
String arcName)
Returns a list of arcs which have the given node as an end point and which have the given name. |
String |
getName()
Returns the graph name, which should be unique. |
List<Node> |
getNodes()
Returns a list of all nodes in the graph. |
List<Arc> |
getOutputArcs(Node node)
Returns a list of arcs which have the given node as a starting point. |
List<Arc> |
getOutputArcs(Node node,
String arcName)
Returns a list of arcs which have the given node as a starting point and which have the given name. |
List<Node> |
getStartNodes()
Returns a list of the nodes at which nodes should be placed to start a workflow process. |
int |
getVersion()
Returns the version number of the graph. |
Methods inherited from interface com.googlecode.sarasvati.event.HasEventQueue |
---|
getEventQueue |
Method Detail |
---|
String getName()
int getVersion()
String getCustomId()
List<Arc> getArcs()
List<Arc> getInputArcs(Node node)
node
- A node belonging to this graph
List<Arc> getInputArcs(Node node, String arcName)
node
- A node belonging to this graph
List<Arc> getOutputArcs(Node node)
node
- A node belonging to this graph
List<Arc> getOutputArcs(Node node, String arcName)
node
- A node belonging to this graph
List<Node> getStartNodes()
List<Node> getNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |