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 Integer
execute(org.kie.api.runtime.Context context)
org.kie.api.runtime.rule.AgendaFilter
getAgendaFilter()
int
getMax()
String
getOutIdentifier()
void
setAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
void
setMax(int max)
void
setOutIdentifier(String outIdentifier)
String
toString()
-
-
-
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:
getOutIdentifier
in interfaceIdentifiableResult
-
setOutIdentifier
public void setOutIdentifier(String outIdentifier)
- Specified by:
setOutIdentifier
in interfaceIdentifiableResult
-
execute
public Integer execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<Integer>
-
-