public interface RuleEngine extends EngineWithWorkingMemory
RuleEngine represents a rule engine instance.| Modifier and Type | Method and Description |
|---|---|
RuleEngineInput |
createRuleEngineInput()
Creates an input object for a
RuleEngine. |
RuleEngineInput |
createRuleEngineInput(EngineData data)
Creates an input object for a
RuleEngine. |
RuleEngineOutput |
execute(RuleEngineInput input)
Executes rules.
|
RuleEngineDefinition |
getDefinition()
Returns the engine definition.
|
executecreateInput, createInput, execute, execute, getState, note, resetaddObserver, addObserver, getAllObservers, getSupportedObserverClasses, removeAllObservers, removeObserver, removeObservergetNumberOfServices, getService, getServiceByName, getServiceClassesRuleEngineDefinition getDefinition()
getDefinition in interface EngineRuleEngineOutput execute(RuleEngineInput input) throws EngineExecutionException, EngineInvalidStateException, java.lang.IllegalArgumentException
EngineExecutionException - when an exception occurs during a condition test
evaluation or rule action execution.EngineInvalidStateException - when the the internal state of the engine is not
compatible with the way this method has been called.java.lang.IllegalArgumentException - when the input parameter is not valid.input - The rule engine input.RuleEngine is executed.RuleEngineInput createRuleEngineInput()
RuleEngine. You use the
RuleEngineInput object returned to
parameterize Engine execution.RuleEngineInput createRuleEngineInput(EngineData data) throws java.lang.IllegalArgumentException
RuleEngine. You use the
RuleEngineInput object returned to
parameterize Engine execution.java.lang.IllegalArgumentException - when data is not valid.data - The engine data which will be accessible using this input.EngineInput.getData()© Copyright IBM Corp. 1987, 2017