Class DroolsImpl

  • All Implemented Interfaces:
    org.drools.model.Drools, org.drools.model.DroolsEntryPoint, org.kie.api.runtime.KieContext, org.kie.api.runtime.rule.RuleContext

    public class DroolsImpl
    extends Object
    implements org.drools.model.Drools, org.kie.api.runtime.rule.RuleContext
    • Method Detail

      • insert

        public void insert​(Object object)
        Specified by:
        insert in interface org.drools.model.DroolsEntryPoint
      • insert

        public void insert​(Object object,
                           boolean dynamic)
        Specified by:
        insert in interface org.drools.model.DroolsEntryPoint
      • logicalInsert

        public void logicalInsert​(Object object)
        Specified by:
        logicalInsert in interface org.drools.model.Drools
      • getRule

        public org.drools.core.definitions.rule.impl.RuleImpl getRule()
        Specified by:
        getRule in interface org.kie.api.runtime.rule.RuleContext
      • getMatch

        public org.kie.api.runtime.rule.Match getMatch()
        Specified by:
        getMatch in interface org.kie.api.runtime.rule.RuleContext
      • insertLogical

        public org.kie.api.runtime.rule.FactHandle insertLogical​(Object object)
        Specified by:
        insertLogical in interface org.kie.api.runtime.rule.RuleContext
      • insertLogical

        public org.kie.api.runtime.rule.FactHandle insertLogical​(Object object,
                                                                 Object value)
        Specified by:
        insertLogical in interface org.kie.api.runtime.rule.RuleContext
      • blockMatch

        public void blockMatch​(org.kie.api.runtime.rule.Match match)
        Specified by:
        blockMatch in interface org.kie.api.runtime.rule.RuleContext
      • unblockAllMatches

        public void unblockAllMatches​(org.kie.api.runtime.rule.Match match)
        Specified by:
        unblockAllMatches in interface org.kie.api.runtime.rule.RuleContext
      • cancelMatch

        public void cancelMatch​(org.kie.api.runtime.rule.Match match)
        Specified by:
        cancelMatch in interface org.kie.api.runtime.rule.RuleContext
      • update

        public void update​(Object object,
                           String... modifiedProperties)
        Specified by:
        update in interface org.drools.model.DroolsEntryPoint
      • update

        public void update​(Object object,
                           org.drools.model.BitMask modifiedProperties)
        Specified by:
        update in interface org.drools.model.DroolsEntryPoint
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object newObject)
      • delete

        public void delete​(Object object)
        Specified by:
        delete in interface org.drools.model.DroolsEntryPoint
      • getRuntime

        public <T> T getRuntime​(Class<T> runtimeClass)
        Specified by:
        getRuntime in interface org.drools.model.Drools
      • getContext

        public <T> T getContext​(Class<T> contextClass)
        Specified by:
        getContext in interface org.drools.model.Drools
      • getEntryPoint

        public org.drools.model.DroolsEntryPoint getEntryPoint​(String name)
        Specified by:
        getEntryPoint in interface org.drools.model.Drools
      • halt

        public void halt()
        Specified by:
        halt in interface org.drools.model.Drools
      • setFocus

        public void setFocus​(String focus)
        Specified by:
        setFocus in interface org.drools.model.Drools
      • 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
      • asKnowledgeHelper

        public org.drools.core.spi.KnowledgeHelper asKnowledgeHelper()
      • getChannel

        public org.drools.model.Channel getChannel​(String name)
        Specified by:
        getChannel in interface org.drools.model.Drools