org.drools.spi
Class ProcessContext

java.lang.Object
  extended by org.drools.spi.ProcessContext
All Implemented Interfaces:
org.drools.runtime.KnowledgeContext, org.drools.runtime.process.ProcessContext

public class ProcessContext
extends Object
implements org.drools.runtime.process.ProcessContext


Constructor Summary
ProcessContext(org.drools.runtime.KnowledgeRuntime kruntime)
           
 
Method Summary
 org.drools.runtime.KnowledgeRuntime getKnowledgeRuntime()
           
 org.drools.runtime.process.NodeInstance getNodeInstance()
           
 org.drools.runtime.process.ProcessInstance getProcessInstance()
           
 Object getVariable(String variableName)
           
 void setNodeInstance(org.drools.runtime.process.NodeInstance nodeInstance)
           
 void setProcessInstance(org.drools.runtime.process.ProcessInstance processInstance)
           
 void setVariable(String variableName, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessContext

public ProcessContext(org.drools.runtime.KnowledgeRuntime kruntime)
Method Detail

getProcessInstance

public org.drools.runtime.process.ProcessInstance getProcessInstance()
Specified by:
getProcessInstance in interface org.drools.runtime.process.ProcessContext

setProcessInstance

public void setProcessInstance(org.drools.runtime.process.ProcessInstance processInstance)

getNodeInstance

public org.drools.runtime.process.NodeInstance getNodeInstance()
Specified by:
getNodeInstance in interface org.drools.runtime.process.ProcessContext

setNodeInstance

public void setNodeInstance(org.drools.runtime.process.NodeInstance nodeInstance)

getVariable

public Object getVariable(String variableName)
Specified by:
getVariable in interface org.drools.runtime.process.ProcessContext

setVariable

public void setVariable(String variableName,
                        Object value)
Specified by:
setVariable in interface org.drools.runtime.process.ProcessContext

getKnowledgeRuntime

public org.drools.runtime.KnowledgeRuntime getKnowledgeRuntime()
Specified by:
getKnowledgeRuntime in interface org.drools.runtime.KnowledgeContext


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