Rule Execution Server API

com.ibm.rules.engine.runtime
Interface EngineWithWorkingMemoryInput

All Superinterfaces:
EngineInput
All Known Subinterfaces:
RuleEngineInput, RuleflowEngineInput

public interface EngineWithWorkingMemoryInput
extends EngineInput

The rule engine input is used to parameterize a rule engine execution.


Method Summary
 Collection<Object> getWorkingMemory()
          Returns the content of the working memory.
 boolean getWorkingMemoryOrder()
          Return true if the order of the working memory is kept during the initial insertion.
 void setWorkingMemory(Collection<Object> wm)
          Set the working memory to be inserted before the execution begins.
 void setWorkingMemoryOrder(boolean keepOrder)
          Set the working memory order presentation to the engine.
 
Methods inherited from interface com.ibm.rules.engine.runtime.EngineInput
getData, resetParameters, setParameter, setParameters
 

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

Collection<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(Collection<Object> wm)
Set the working memory to be inserted before the execution begins.

Parameters:
wm - The working memory

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013