|
KIE API 6.0.0.Beta4 | |||||||||
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.
KieSession
Method Summary | |
---|---|
int |
fireAllRules()
Fire all Matches on the Agenda. |
int |
fireAllRules(AgendaFilter agendaFilter)
Fire all Matches on the Agenda |
int |
fireAllRules(AgendaFilter agendaFilter,
int max)
Fire all Matches on the Agenda |
int |
fireAllRules(int max)
Fire Matches on the Agenda up to the given maximum number of Matches, before returning the control to the application. |
void |
fireUntilHalt()
Keeps firing Matches until a halt is called. |
void |
fireUntilHalt(AgendaFilter agendaFilter)
Keeps firing Matches 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 Matches that may fire
int fireAllRules(AgendaFilter agendaFilter, int max)
agendaFilter
- filters the Matches 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 Matches that may fire
IllegalStateException
- if this method is called when running in sequential mode
|
KIE API 6.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |