Class DisconnectedWorkingMemoryEntryPoint

  • All Implemented Interfaces:
    Serializable, org.drools.core.WorkingMemoryEntryPoint, org.kie.api.runtime.rule.EntryPoint

    public class DisconnectedWorkingMemoryEntryPoint
    extends Object
    implements org.drools.core.WorkingMemoryEntryPoint, Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • DisconnectedWorkingMemoryEntryPoint

        public DisconnectedWorkingMemoryEntryPoint​(String id)
    • Method Detail

      • getEntryPointId

        public String getEntryPointId()
        Specified by:
        getEntryPointId in interface org.kie.api.runtime.rule.EntryPoint
      • getEntryPoint

        public org.drools.core.rule.EntryPointId getEntryPoint()
        Specified by:
        getEntryPoint in interface org.drools.core.WorkingMemoryEntryPoint
      • getReteEvaluator

        public org.drools.core.common.ReteEvaluator getReteEvaluator()
        Specified by:
        getReteEvaluator in interface org.drools.core.WorkingMemoryEntryPoint
      • getFactCount

        public long getFactCount()
        Specified by:
        getFactCount in interface org.kie.api.runtime.rule.EntryPoint
      • getFactHandle

        public org.kie.api.runtime.rule.FactHandle getFactHandle​(Object object)
        Specified by:
        getFactHandle in interface org.kie.api.runtime.rule.EntryPoint
      • getFactHandles

        public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles()
        Specified by:
        getFactHandles in interface org.kie.api.runtime.rule.EntryPoint
      • getFactHandles

        public <T extends org.kie.api.runtime.rule.FactHandle> Collection<T> getFactHandles​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        getFactHandles in interface org.kie.api.runtime.rule.EntryPoint
      • getObject

        public Object getObject​(org.kie.api.runtime.rule.FactHandle factHandle)
        Specified by:
        getObject in interface org.kie.api.runtime.rule.EntryPoint
      • getObjects

        public Collection<? extends Object> getObjects()
        Specified by:
        getObjects in interface org.kie.api.runtime.rule.EntryPoint
      • getObjects

        public Collection<? extends Object> getObjects​(org.kie.api.runtime.ObjectFilter filter)
        Specified by:
        getObjects in interface org.kie.api.runtime.rule.EntryPoint
      • insert

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

        public org.kie.api.runtime.rule.FactHandle insert​(Object object,
                                                          boolean dynamic)
        Specified by:
        insert in interface org.drools.core.WorkingMemoryEntryPoint
      • retract

        public void retract​(org.kie.api.runtime.rule.FactHandle handle)
        Specified by:
        retract in interface org.kie.api.runtime.rule.EntryPoint
      • delete

        public void delete​(org.kie.api.runtime.rule.FactHandle handle)
        Specified by:
        delete in interface org.kie.api.runtime.rule.EntryPoint
      • delete

        public void delete​(org.kie.api.runtime.rule.FactHandle handle,
                           org.kie.api.runtime.rule.FactHandle.State fhState)
        Specified by:
        delete in interface org.kie.api.runtime.rule.EntryPoint
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object object)
        Specified by:
        update in interface org.kie.api.runtime.rule.EntryPoint
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object object,
                           String... modifiedProperties)
        Specified by:
        update in interface org.kie.api.runtime.rule.EntryPoint
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.drools.core.WorkingMemoryEntryPoint
      • getObjectTypeConfigurationRegistry

        public org.drools.core.common.ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
        Specified by:
        getObjectTypeConfigurationRegistry in interface org.drools.core.WorkingMemoryEntryPoint
      • getKnowledgeBase

        public org.drools.core.impl.RuleBase getKnowledgeBase()
        Specified by:
        getKnowledgeBase in interface org.drools.core.WorkingMemoryEntryPoint
      • delete

        public void delete​(org.kie.api.runtime.rule.FactHandle factHandle,
                           org.drools.core.definitions.rule.impl.RuleImpl rule,
                           org.drools.core.reteoo.TerminalNode terminalNode)
        Specified by:
        delete in interface org.drools.core.WorkingMemoryEntryPoint
      • delete

        public void delete​(org.kie.api.runtime.rule.FactHandle factHandle,
                           org.drools.core.definitions.rule.impl.RuleImpl rule,
                           org.drools.core.reteoo.TerminalNode terminalNode,
                           org.kie.api.runtime.rule.FactHandle.State fhState)
        Specified by:
        delete in interface org.drools.core.WorkingMemoryEntryPoint
      • update

        public void update​(org.kie.api.runtime.rule.FactHandle handle,
                           Object object,
                           org.drools.core.util.bitmask.BitMask mask,
                           Class<?> modifiedClass,
                           org.drools.core.rule.consequence.Activation activation)
        Specified by:
        update in interface org.drools.core.WorkingMemoryEntryPoint
      • reset

        public void reset()
        Specified by:
        reset in interface org.drools.core.WorkingMemoryEntryPoint
      • getObjectStore

        public org.drools.core.common.ObjectStore getObjectStore()
        Specified by:
        getObjectStore in interface org.drools.core.WorkingMemoryEntryPoint
      • getHandleFactory

        public org.drools.core.rule.accessor.FactHandleFactory getHandleFactory()
        Specified by:
        getHandleFactory in interface org.drools.core.WorkingMemoryEntryPoint
      • getEntryPointNode

        public org.drools.core.reteoo.EntryPointNode getEntryPointNode()
        Specified by:
        getEntryPointNode in interface org.drools.core.WorkingMemoryEntryPoint