org.drools.ruleflow.instance
Interface RuleFlowProcessInstance

All Superinterfaces:
ProcessInstance, java.io.Serializable
All Known Implementing Classes:
RuleFlowProcessInstanceImpl

public interface RuleFlowProcessInstance
extends ProcessInstance

A process instance for a RuleFlow process. Contains a reference to all its node instances, and the agenda that is controlling the RuleFlow process.

Author:
Kris Verlaenen

Field Summary
 
Fields inherited from interface org.drools.ruleflow.common.instance.ProcessInstance
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED
 
Method Summary
 void addNodeInstance(RuleFlowNodeInstance nodeInstance)
           
 Agenda getAgenda()
           
 RuleFlowNodeInstance getFirstNodeInstance(long nodeId)
           
 RuleFlowNodeInstance getNodeInstance(Node node)
           
 java.util.Collection getNodeInstances()
           
 RuleFlowProcess getRuleFlowProcess()
           
 WorkingMemory getWorkingMemory()
           
 void removeNodeInstance(RuleFlowNodeInstance nodeInstance)
           
 void setWorkingMemory(InternalWorkingMemory workingMemory)
           
 void start()
           
 
Methods inherited from interface org.drools.ruleflow.common.instance.ProcessInstance
getId, getProcess, getState, setId, setProcess, setState
 

Method Detail

getRuleFlowProcess

RuleFlowProcess getRuleFlowProcess()

addNodeInstance

void addNodeInstance(RuleFlowNodeInstance nodeInstance)

removeNodeInstance

void removeNodeInstance(RuleFlowNodeInstance nodeInstance)

getNodeInstances

java.util.Collection getNodeInstances()

getFirstNodeInstance

RuleFlowNodeInstance getFirstNodeInstance(long nodeId)

setWorkingMemory

void setWorkingMemory(InternalWorkingMemory workingMemory)

getWorkingMemory

WorkingMemory getWorkingMemory()

getAgenda

Agenda getAgenda()

getNodeInstance

RuleFlowNodeInstance getNodeInstance(Node node)

start

void start()