Interface WorkingMemoryEntryPoint

All Superinterfaces:
EntryPoint
All Known Subinterfaces:
InternalWorkingMemory, InternalWorkingMemoryActions, InternalWorkingMemoryEntryPoint, WorkingMemory

public interface WorkingMemoryEntryPoint extends EntryPoint
An interface for instances that allow handling of entry-point-scoped facts
  • Method Details

    • insert

      FactHandle insert(Object object, boolean dynamic)
      Insert a fact registering JavaBean PropertyChangeListeners on the Object to automatically trigger update calls if dynamic is true.
      Parameters:
      object - The fact object.
      dynamic - true if Drools should add JavaBean PropertyChangeListeners to the object.
      Returns:
      The new fact-handle associated with the object.
    • dispose

      void dispose()
      Internal method called by the engine when the session is being disposed, so that the entry point can proceed with the necessary clean ups.
    • getObjectTypeConfigurationRegistry

      ObjectTypeConfigurationRegistry getObjectTypeConfigurationRegistry()
    • getKnowledgeBase

      InternalRuleBase getKnowledgeBase()
    • delete

      void delete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode)
    • delete

      void delete(FactHandle factHandle, RuleImpl rule, TerminalNode terminalNode, FactHandle.State fhState)
    • update

      void update(FactHandle handle, Object object, org.drools.util.bitmask.BitMask mask, Class<?> modifiedClass, InternalMatch internalMatch)
    • getEntryPoint

      EntryPointId getEntryPoint()
    • getReteEvaluator

      ReteEvaluator getReteEvaluator()
    • reset

      void reset()
    • getObjectStore

      ObjectStore getObjectStore()
    • getHandleFactory

      FactHandleFactory getHandleFactory()
    • getEntryPointNode

      EntryPointNode getEntryPointNode()
    • getRuleUnit

      default Object getRuleUnit()
    • setRuleUnit

      default void setRuleUnit(Object ruleUnit)