站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

RuleFlowProcess (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.core.impl
Class RuleFlowProcess

java.lang.Object
  extended by org.drools.ruleflow.common.core.impl.Process
      extended by org.drools.ruleflow.core.impl.RuleFlowProcess
All Implemented Interfaces:
Serializable, IProcess, IRuleFlowProcess

public class RuleFlowProcess
extends Process
implements IRuleFlowProcess

Default implementation of a RuleFlow process.

Author:
Kris Verlaenen
See Also:
Serialized Form

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

RULEFLOW_TYPE

public static final String RULEFLOW_TYPE
See Also:
Constant Field Values
Constructor Detail

RuleFlowProcess

public RuleFlowProcess()
Method Detail

getStart

public IStartNode getStart()
Description copied from interface: IRuleFlowProcess
Returns the start node of this RuleFlow process.

Specified by:
getStart in interface IRuleFlowProcess
Returns:
the start node

getNodes

public INode[] getNodes()
Description copied from interface: IRuleFlowProcess
Returns the nodes of this RuleFlow process.

Specified by:
getNodes in interface IRuleFlowProcess
Returns:
the nodes of this RuleFlow process

getNode

public INode getNode(long id)
Description copied from interface: IRuleFlowProcess
Returns the node with the given id

Specified by:
getNode in interface IRuleFlowProcess
Parameters:
id - the node id
Returns:
the node with the given id

removeNode

public void removeNode(INode node)
Description copied from interface: IRuleFlowProcess
Method for removing a node from this RuleFlow process

Specified by:
removeNode in interface IRuleFlowProcess
Parameters:
node - the node to be removed

getVariables

public List getVariables()
Description copied from interface: IRuleFlowProcess
Returns the global variables used in this RuleFlow process

Specified by:
getVariables in interface IRuleFlowProcess
Returns:
a list of variables of this RuleFlow process

setVariables

public void setVariables(List variables)
Description copied from interface: IRuleFlowProcess
Sets the global variables used in this RuleFlow process

Specified by:
setVariables in interface IRuleFlowProcess
Parameters:
variables - the variables

getVariableNames

public String[] getVariableNames()
Description copied from interface: IRuleFlowProcess
Returns the names of the global variables used in this RuleFlow process

Specified by:
getVariableNames in interface IRuleFlowProcess
Returns:
the variable names of this RuleFlow process

addNode

public void addNode(INode node)
Description copied from interface: IRuleFlowProcess
Method for adding a node to this RuleFlow process. Note that the node will get an id unique for this process.

Specified by:
addNode in interface IRuleFlowProcess
Parameters:
node - the node to be added


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.