Class BatchExecutionCommandImpl

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

    public class BatchExecutionCommandImpl
    extends Object
    implements Batch, org.kie.api.command.ExecutableCommand<org.kie.api.runtime.ExecutionResults>

    Java class for BatchExecutionCommand complex type. DO NOT ADD NEW COMMANDS TO THIS CLASS WITHOUT THOROUGHLY TESTING 1. THE SERIALIZATION OF THOSE COMMANDS 2. THE INTEGRATION OF THOSE COMMANDS IN THE REST AND WS/SOAP IMPLEMENTATIONS!

    See Also:
    Serialized Form
    • Field Detail

      • commands

        protected List<org.kie.api.command.Command> commands
    • Constructor Detail

      • BatchExecutionCommandImpl

        public BatchExecutionCommandImpl()
      • BatchExecutionCommandImpl

        public BatchExecutionCommandImpl​(List<? extends org.kie.api.command.Command> commands)
      • BatchExecutionCommandImpl

        public BatchExecutionCommandImpl​(List<? extends org.kie.api.command.Command> commands,
                                         String lookup)
    • 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>
      • getDistance

        public long getDistance()
        Specified by:
        getDistance in interface Batch
      • setLookup

        public void setLookup​(String lookup)
      • getLookup

        public String getLookup()
      • autoFireAllRules

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