public interface StatefulRuleSession
StatefulRuleSession methods. This interface
 adds methods available to the StatefulKnowledgeSession beyond what the WorkingMemory provides.KieSession| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
int fireAllRules()
int fireAllRules(int max)
fireAllRules() again.max - the maximum number of rules that should be firedint fireAllRules(AgendaFilter agendaFilter)
agendaFilter - filters the Matches that may fireint fireAllRules(AgendaFilter agendaFilter, int max)
agendaFilter - filters the Matches that may firemax - the maximum number of rules that should be firedvoid fireUntilHalt()
IllegalStateException - if this method is called when running in sequential modevoid fireUntilHalt(AgendaFilter agendaFilter)
agendaFilter - filters the Matches that may fireIllegalStateException - if this method is called when running in sequential modeCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.