|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.drools.ruleflow.common.core.impl.Process org.drools.ruleflow.core.impl.RuleFlowProcess
public class RuleFlowProcess
Default implementation of a RuleFlow process.
Field Summary | |
---|---|
static String |
RULEFLOW_TYPE
|
Constructor Summary | |
---|---|
RuleFlowProcess()
|
Method Summary | |
---|---|
void |
addNode(INode node)
Method for adding a node to this RuleFlow process. |
INode |
getNode(long id)
Returns the node with the given id |
INode[] |
getNodes()
Returns the nodes of this RuleFlow process. |
IStartNode |
getStart()
Returns the start node of this RuleFlow process. |
String[] |
getVariableNames()
Returns the names of the global variables used in this RuleFlow process |
List |
getVariables()
Returns the global variables used in this RuleFlow process |
void |
removeNode(INode node)
Method for removing a node from this RuleFlow process |
void |
setVariables(List variables)
Sets the global variables used in this RuleFlow process |
Methods inherited from class org.drools.ruleflow.common.core.impl.Process |
---|
equals, getId, getName, getType, getVersion, hashCode, setId, setName, setType, setVersion |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.drools.ruleflow.common.core.IProcess |
---|
getId, getName, getType, getVersion, setId, setName, setType, setVersion |
Field Detail |
---|
public static final String RULEFLOW_TYPE
Constructor Detail |
---|
public RuleFlowProcess()
Method Detail |
---|
public IStartNode getStart()
IRuleFlowProcess
getStart
in interface IRuleFlowProcess
public INode[] getNodes()
IRuleFlowProcess
getNodes
in interface IRuleFlowProcess
public INode getNode(long id)
IRuleFlowProcess
getNode
in interface IRuleFlowProcess
id
- the node id
public void removeNode(INode node)
IRuleFlowProcess
removeNode
in interface IRuleFlowProcess
node
- the node to be removedpublic List getVariables()
IRuleFlowProcess
getVariables
in interface IRuleFlowProcess
public void setVariables(List variables)
IRuleFlowProcess
setVariables
in interface IRuleFlowProcess
variables
- the variablespublic String[] getVariableNames()
IRuleFlowProcess
getVariableNames
in interface IRuleFlowProcess
public void addNode(INode node)
IRuleFlowProcess
addNode
in interface IRuleFlowProcess
node
- the node to be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |