Class RulesExecutionService


  • public class RulesExecutionService
    extends Object
    Direct rules execution service that allow use of typed objects instead of string only
    • Constructor Detail

      • RulesExecutionService

        public RulesExecutionService​(org.kie.server.services.api.KieServerRegistry context)
    • Method Detail

      • call

        public org.kie.api.runtime.ExecutionResults call​(org.kie.server.services.api.KieContainerInstance kci,
                                                         org.kie.api.command.BatchExecutionCommand executionCommand)
      • applyListeners

        protected void applyListeners​(org.kie.api.runtime.CommandExecutor ks)
      • getAgendaEventListeners

        public List<org.kie.api.event.rule.AgendaEventListener> getAgendaEventListeners()
      • setAgendaEventListeners

        public void setAgendaEventListeners​(List<org.kie.api.event.rule.AgendaEventListener> agendaEventListeners)
      • getRuleRuntimeEventListeners

        public List<org.kie.api.event.rule.RuleRuntimeEventListener> getRuleRuntimeEventListeners()
      • setRuleRuntimeEventListeners

        public void setRuleRuntimeEventListeners​(List<org.kie.api.event.rule.RuleRuntimeEventListener> ruleRuntimeEventListeners)