com.ibm.rules.engine.runtime

Interface EngineWithWorkingMemoryInput

    • Method Detail

      • setWorkingMemoryOrder

        void setWorkingMemoryOrder(boolean keepOrder)
        Set the working memory order presentation to the engine. The working memory order is kept depending on the orderKept parameter. When the order is not kept, the initial insertion stage might be quicker to achieve.
        Parameters:
        keepOrder - Indicate if the order of the working memory is kept
      • getWorkingMemoryOrder

        boolean getWorkingMemoryOrder()
        Return true if the order of the working memory is kept during the initial insertion.
        Returns:
        true if the order is kept.
      • getWorkingMemory

        java.util.Collection<java.lang.Object> getWorkingMemory()
        Returns the content of the working memory.
        Returns:
        The working memory as a collection of objects, or null if no working memory was set.
        See Also:
        setWorkingMemory(java.util.Collection)
      • setWorkingMemory

        void setWorkingMemory(java.util.Collection<java.lang.Object> wm)
        Set the working memory to be inserted before the execution begins.
        Parameters:
        wm - The working memory

© Copyright IBM Corp. 1987, 2017