Class 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:
    Serialized Form
    • Constructor Detail

      • BatchImpl

        public BatchImpl()
      • BatchImpl

        public BatchImpl​(long distance)
    • Method Detail

      • 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