Package org.drools.core.process
Class AbstractProcessContext
- java.lang.Object
-
- org.drools.core.process.AbstractProcessContext
-
- All Implemented Interfaces:
org.kie.api.runtime.KieContext
,org.kie.api.runtime.process.ProcessContext
- Direct Known Subclasses:
ProcessContext
public abstract class AbstractProcessContext extends java.lang.Object implements org.kie.api.runtime.process.ProcessContext
-
-
Constructor Summary
Constructors Constructor Description AbstractProcessContext(org.kie.api.runtime.KieRuntime kruntime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.runtime.KieRuntime
getKieRuntime()
org.kie.api.runtime.KieRuntime
getKnowledgeRuntime()
org.slf4j.Logger
getLogger()
org.kie.api.runtime.process.NodeInstance
getNodeInstance()
org.kie.api.runtime.process.ProcessInstance
getProcessInstance()
java.lang.Object
getVariable(java.lang.String variableName)
void
setNodeInstance(org.kie.api.runtime.process.NodeInstance nodeInstance)
void
setProcessInstance(org.kie.api.runtime.process.ProcessInstance processInstance)
void
setVariable(java.lang.String variableName, java.lang.Object value)
-
-
-
Method Detail
-
getProcessInstance
public org.kie.api.runtime.process.ProcessInstance getProcessInstance()
- Specified by:
getProcessInstance
in interfaceorg.kie.api.runtime.process.ProcessContext
-
setProcessInstance
public void setProcessInstance(org.kie.api.runtime.process.ProcessInstance processInstance)
-
getNodeInstance
public org.kie.api.runtime.process.NodeInstance getNodeInstance()
- Specified by:
getNodeInstance
in interfaceorg.kie.api.runtime.process.ProcessContext
-
setNodeInstance
public void setNodeInstance(org.kie.api.runtime.process.NodeInstance nodeInstance)
-
getVariable
public java.lang.Object getVariable(java.lang.String variableName)
- Specified by:
getVariable
in interfaceorg.kie.api.runtime.process.ProcessContext
-
setVariable
public void setVariable(java.lang.String variableName, java.lang.Object value)
- Specified by:
setVariable
in interfaceorg.kie.api.runtime.process.ProcessContext
-
getKieRuntime
public org.kie.api.runtime.KieRuntime getKieRuntime()
- Specified by:
getKieRuntime
in interfaceorg.kie.api.runtime.KieContext
-
getKnowledgeRuntime
public org.kie.api.runtime.KieRuntime getKnowledgeRuntime()
- Specified by:
getKnowledgeRuntime
in interfaceorg.kie.api.runtime.KieContext
-
getLogger
public org.slf4j.Logger getLogger()
-
-