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 Details

    • 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 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

      public String getOutIdentifier()
      Specified by:
      getOutIdentifier in interface IdentifiableResult
    • setOutIdentifier

      public void setOutIdentifier(String outIdentifier)
      Specified by:
      setOutIdentifier in interface IdentifiableResult
    • execute

      public Integer execute(org.kie.api.runtime.Context context)
      Specified by:
      execute in interface org.kie.api.command.ExecutableCommand<Integer>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • autoFireAllRules

      public boolean autoFireAllRules()
      Specified by:
      autoFireAllRules in interface org.kie.api.command.ExecutableCommand<Integer>