|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatefulRuleSession
An interface for all StatefulRuleSession
methods. This interface
adds methods available to the StatefulKnowledgeSession beyond what the WorkingMemory provides.
StatefulKnowledgeSession
Method Summary | |
---|---|
int |
fireAllRules()
Fire all Activations on the Agenda. |
int |
fireAllRules(AgendaFilter agendaFilter)
Fire all Activations on the Agenda |
int |
fireAllRules(AgendaFilter agendaFilter,
int max)
Fire all Activations on the Agenda |
int |
fireAllRules(int max)
Fire Activations on the Agenda up to the given maximum number of activations, before returning the control to the application. |
void |
fireUntilHalt()
Keeps firing activations until a halt is called. |
void |
fireUntilHalt(AgendaFilter agendaFilter)
Keeps firing activations until a halt is called. |
Method Detail |
---|
int fireAllRules()
int fireAllRules(int max)
fireAllRules()
again.
max
- the maximum number of rules that should be fired
int fireAllRules(AgendaFilter agendaFilter)
agendaFilter
- filters the activations that may fire
int fireAllRules(AgendaFilter agendaFilter, int max)
agendaFilter
- filters the activations that may firemax
- the maximum number of rules that should be fired
void fireUntilHalt()
IllegalStateException
- if this method is called when running in sequential modevoid fireUntilHalt(AgendaFilter agendaFilter)
agendaFilter
- filters the activations that may fire
IllegalStateException
- if this method is called when running in sequential mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |