Class FireAllRulesCommand
- java.lang.Object
-
- org.drools.core.command.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FireAllRulesCommand()FireAllRulesCommand(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integerexecute(org.kie.api.runtime.Context context)org.kie.api.runtime.rule.AgendaFiltergetAgendaFilter()intgetMax()StringgetOutIdentifier()voidsetAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter)voidsetMax(int max)voidsetOutIdentifier(String outIdentifier)StringtoString()
-
-
-
Constructor Detail
-
FireAllRulesCommand
public FireAllRulesCommand()
-
FireAllRulesCommand
public FireAllRulesCommand(String outIdentifer)
-
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 Detail
-
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
public String getOutIdentifier()
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
execute
public Integer execute(org.kie.api.runtime.Context context)
- Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<Integer>
-
-