Class BatchImpl

java.lang.Object
org.drools.commands.fluent.BatchImpl
All Implemented Interfaces:
Serializable, Batch, org.kie.api.command.BatchExecutionCommand, org.kie.api.command.Command<org.kie.api.runtime.ExecutionResults>

public class BatchImpl extends Object implements Batch
See Also:
  • Constructor Details

    • BatchImpl

      public BatchImpl()
    • BatchImpl

      public BatchImpl(long distance)
  • Method Details

    • getDistance

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

      public BatchImpl addCommand(org.kie.api.command.Command cmd)
      Specified by:
      addCommand in interface Batch
    • getCommands

      public List<org.kie.api.command.Command> getCommands()
      Specified by:
      getCommands in interface Batch