Class ExecuteCommand

  • All Implemented Interfaces:
    java.io.Serializable, org.kie.api.command.Command<org.kie.api.runtime.ExecutionResults>, org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>

    public class ExecuteCommand
    extends java.lang.Object
    implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecuteCommand​(java.lang.String identifier, org.kie.api.command.Command command)  
      ExecuteCommand​(java.lang.String identifier, org.kie.api.command.Command command, boolean disconnected)  
      ExecuteCommand​(org.kie.api.command.Command command)  
      ExecuteCommand​(org.kie.api.command.Command command, boolean disconnected)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.kie.api.runtime.ExecutionResults execute​(org.kie.api.runtime.Context context)  
      org.kie.api.command.Command getCommand()  
      java.lang.String getOutIdentifier()  
      void setOutIdentifier​(java.lang.String outIdentifier)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.kie.api.command.ExecutableCommand

        autoFireAllRules
    • Constructor Detail

      • ExecuteCommand

        public ExecuteCommand​(org.kie.api.command.Command command)
      • ExecuteCommand

        public ExecuteCommand​(java.lang.String identifier,
                              org.kie.api.command.Command command)
      • ExecuteCommand

        public ExecuteCommand​(java.lang.String identifier,
                              org.kie.api.command.Command command,
                              boolean disconnected)
      • ExecuteCommand

        public ExecuteCommand​(org.kie.api.command.Command command,
                              boolean disconnected)
    • Method Detail

      • execute

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

        public org.kie.api.command.Command getCommand()
      • getOutIdentifier

        public java.lang.String getOutIdentifier()
      • setOutIdentifier

        public void setOutIdentifier​(java.lang.String outIdentifier)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object