org.drools.spi
Class ProcessContext
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessContext
public ProcessContext(org.drools.runtime.KnowledgeRuntime kruntime)
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-2012 JBoss by Red Hat. All Rights Reserved.