Package org.drools.commands.runtime.rule
Class FireAllRulesCommand
java.lang.Object
org.drools.commands.runtime.rule.FireAllRulesCommand
- All Implemented Interfaces:
Serializable,IdentifiableResult,org.kie.api.command.Command<Integer>,org.kie.api.command.ExecutableCommand<Integer>
public class FireAllRulesCommand
extends Object
implements org.kie.api.command.ExecutableCommand<Integer>, IdentifiableResult
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFireAllRulesCommand(int max) FireAllRulesCommand(String outIdentifer) FireAllRulesCommand(String outIdentifier, int max, org.kie.api.runtime.rule.AgendaFilter agendaFilter) FireAllRulesCommand(org.kie.api.runtime.rule.AgendaFilter agendaFilter) FireAllRulesCommand(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int max) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(org.kie.api.runtime.Context context) org.kie.api.runtime.rule.AgendaFilterintgetMax()voidsetAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter) voidsetMax(int max) voidsetOutIdentifier(String outIdentifier) toString()
-
Constructor Details
-
FireAllRulesCommand
public FireAllRulesCommand() -
FireAllRulesCommand
-
FireAllRulesCommand
public FireAllRulesCommand(int max) -
FireAllRulesCommand
public FireAllRulesCommand(org.kie.api.runtime.rule.AgendaFilter agendaFilter) -
FireAllRulesCommand
public FireAllRulesCommand(org.kie.api.runtime.rule.AgendaFilter agendaFilter, int max) -
FireAllRulesCommand
public FireAllRulesCommand(String outIdentifier, int max, org.kie.api.runtime.rule.AgendaFilter agendaFilter)
-
-
Method Details
-
getMax
public int getMax() -
setMax
public void setMax(int max) -
getAgendaFilter
public org.kie.api.runtime.rule.AgendaFilter getAgendaFilter() -
setAgendaFilter
public void setAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter) -
getOutIdentifier
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
execute
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Integer>
-
toString
-
autoFireAllRules
public boolean autoFireAllRules()- Specified by:
autoFireAllRulesin interfaceorg.kie.api.command.ExecutableCommand<Integer>
-