Interface WorkingMemoryEntryPoint

    • Method Detail

      • insert

        org.kie.api.runtime.rule.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.
      • getKnowledgeBase

        RuleBase getKnowledgeBase()
      • delete

        void delete​(org.kie.api.runtime.rule.FactHandle factHandle,
                    RuleImpl rule,
                    TerminalNode terminalNode)
      • delete

        void delete​(org.kie.api.runtime.rule.FactHandle factHandle,
                    RuleImpl rule,
                    TerminalNode terminalNode,
                    org.kie.api.runtime.rule.FactHandle.State fhState)
      • update

        void update​(org.kie.api.runtime.rule.FactHandle handle,
                    Object object,
                    BitMask mask,
                    Class<?> modifiedClass,
                    Activation activation)
      • reset

        void reset()
      • getRuleUnit

        default Object getRuleUnit()
      • setRuleUnit

        default void setRuleUnit​(Object ruleUnit)