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

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


org.drools.ruleflow.instance.impl
Class RuleFlowProcessInstance

java.lang.Object
  extended by org.drools.ruleflow.common.instance.impl.ProcessInstance
      extended by org.drools.ruleflow.instance.impl.RuleFlowProcessInstance
All Implemented Interfaces:
Serializable, IProcessInstance, IRuleFlowProcessInstance

public class RuleFlowProcessInstance
extends ProcessInstance
implements IRuleFlowProcessInstance

Default implementation of a RuleFlow process instance.

Author:
Kris Verlaenen
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.drools.ruleflow.common.instance.IProcessInstance
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED
 
Constructor Summary
RuleFlowProcessInstance()
           
 
Method Summary
 void addNodeInstance(IRuleFlowNodeInstance nodeInstance)
           
 Agenda getAgenda()
           
 IRuleFlowNodeInstance getFirstNodeInstance(long nodeId)
           
 IRuleFlowNodeInstance getNodeInstance(INode node)
           
 Collection getNodeInstances()
           
 IRuleFlowProcess getRuleFlowProcess()
           
 void removeNodeInstance(IRuleFlowNodeInstance nodeInstance)
           
 void setAgenda(Agenda agenda)
           
 void start()
           
 String toString()
           
 
Methods inherited from class org.drools.ruleflow.common.instance.impl.ProcessInstance
getId, getProcess, getState, setId, setProcess, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.ruleflow.common.instance.IProcessInstance
getId, getProcess, getState, setId, setProcess, setState
 

Constructor Detail

RuleFlowProcessInstance

public RuleFlowProcessInstance()
Method Detail

getRuleFlowProcess

public IRuleFlowProcess getRuleFlowProcess()
Specified by:
getRuleFlowProcess in interface IRuleFlowProcessInstance

addNodeInstance

public void addNodeInstance(IRuleFlowNodeInstance nodeInstance)
Specified by:
addNodeInstance in interface IRuleFlowProcessInstance

removeNodeInstance

public void removeNodeInstance(IRuleFlowNodeInstance nodeInstance)
Specified by:
removeNodeInstance in interface IRuleFlowProcessInstance

getNodeInstances

public Collection getNodeInstances()
Specified by:
getNodeInstances in interface IRuleFlowProcessInstance

getFirstNodeInstance

public IRuleFlowNodeInstance getFirstNodeInstance(long nodeId)
Specified by:
getFirstNodeInstance in interface IRuleFlowProcessInstance

getAgenda

public Agenda getAgenda()
Specified by:
getAgenda in interface IRuleFlowProcessInstance

setAgenda

public void setAgenda(Agenda agenda)
Specified by:
setAgenda in interface IRuleFlowProcessInstance

getNodeInstance

public IRuleFlowNodeInstance getNodeInstance(INode node)
Specified by:
getNodeInstance in interface IRuleFlowProcessInstance

start

public void start()
Specified by:
start in interface IRuleFlowProcessInstance

toString

public String toString()
Overrides:
toString in class ProcessInstance


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