Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.kie.api.runtime.KieContext

        getKieBase
      • Methods inherited from interface org.kie.api.runtime.process.ProcessContext

        getCaseAssignment, getCaseData
    • Constructor Detail

      • AbstractProcessContext

        public AbstractProcessContext​(org.kie.api.runtime.KieRuntime kruntime)
    • Method Detail

      • getProcessInstance

        public org.kie.api.runtime.process.ProcessInstance getProcessInstance()
        Specified by:
        getProcessInstance in interface org.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 interface org.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 interface org.kie.api.runtime.process.ProcessContext
      • setVariable

        public void setVariable​(java.lang.String variableName,
                                java.lang.Object value)
        Specified by:
        setVariable in interface org.kie.api.runtime.process.ProcessContext
      • getKieRuntime

        public org.kie.api.runtime.KieRuntime getKieRuntime()
        Specified by:
        getKieRuntime in interface org.kie.api.runtime.KieContext
      • getKnowledgeRuntime

        public org.kie.api.runtime.KieRuntime getKnowledgeRuntime()
        Specified by:
        getKnowledgeRuntime in interface org.kie.api.runtime.KieContext
      • getLogger

        public org.slf4j.Logger getLogger()