Class BatchImpl

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

    public class BatchImpl
    extends java.lang.Object
    implements Batch
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BatchImpl()  
      BatchImpl​(long distance)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BatchImpl addCommand​(org.kie.api.command.Command cmd)  
      java.util.List<org.kie.api.command.Command> getCommands()  
      long getDistance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.util.List<org.kie.api.command.Command> getCommands()
        Specified by:
        getCommands in interface Batch