public interface RuleEngineOutput extends EngineWithWorkingMemoryOutput
RuleEngineOutput instance is produced when a RuleEngine is executed.| Modifier and Type | Method and Description |
|---|---|
int |
getExecutedRuleInstanceCount()
Returns the number of rule instances executed.
|
RuleInstance |
getLastRuleInstance()
Returns the last
Rule instance that was executed. |
boolean |
isAgendaEmpty()
Tests if the
Agenda is empty. |
getWorkingMemorygetData, getParameter, getParameters, getStopMessage, isStoppedint getExecutedRuleInstanceCount()
boolean isAgendaEmpty()
Agenda is empty.java.lang.IllegalStateException - if the engine does not support the Agenda.Agenda was empty when the RuleEngine finished executing,
true is returned.RuleInstance getLastRuleInstance()
Rule instance that was executed.java.lang.IllegalStateException - if the engine does not support the Agenda.Rule instance that was executed. If no Rule was executed,
null is returned.© Copyright IBM Corp. 1987, 2017