Class AddEventListenerCommand

java.lang.Object
org.drools.commands.runtime.AddEventListenerCommand
All Implemented Interfaces:
Serializable, org.kie.api.command.Command<Void>, org.kie.api.command.ExecutableCommand<Void>

public class AddEventListenerCommand extends Object implements org.kie.api.command.ExecutableCommand<Void>
See Also:
  • Constructor Details

    • AddEventListenerCommand

      public AddEventListenerCommand(org.kie.api.event.rule.RuleRuntimeEventListener listener)
    • AddEventListenerCommand

      public AddEventListenerCommand(org.kie.api.event.rule.AgendaEventListener listener)
    • AddEventListenerCommand

      public AddEventListenerCommand(org.kie.api.event.process.ProcessEventListener listener)
  • Method Details

    • execute

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

      public String toString()
      Overrides:
      toString in class Object