Interface WorkingMemoryEntryPoint

    • Method Detail

      • insert

        org.kie.api.runtime.rule.FactHandle insert​(java.lang.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.
      • delete

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

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

        void update​(org.kie.api.runtime.rule.FactHandle handle,
                    java.lang.Object object,
                    org.drools.core.util.bitmask.BitMask mask,
                    java.lang.Class<?> modifiedClass,
                    InternalMatch internalMatch)
      • getEntryPoint

        org.drools.base.rule.EntryPointId getEntryPoint()
      • reset

        void reset()
      • getRuleUnit

        default java.lang.Object getRuleUnit()
      • setRuleUnit

        default void setRuleUnit​(java.lang.Object ruleUnit)