Class Command

All Implemented Interfaces:
Serializable

public class Command extends ExecutionEnvironmentDTO
A command data transfer object. After creation, it is read-only.
Since:
3.0.0
See Also:
  • Field Details

    • DEFAULT_CHECK_DELAY

      public static final long DEFAULT_CHECK_DELAY
      The default amount of time to wait between job process checks.
      See Also:
  • Constructor Details

    • Command

      protected Command(@Valid @Valid Command.Builder builder)
      Constructor used by the builder.
      Parameters:
      builder - The builder to get data from
  • Method Details

    • getMemory

      @Deprecated public Optional<Integer> getMemory()
      Deprecated.
      Use runtime instead
      Get the default amount of memory (in MB) to use for jobs which use this command.
      Returns:
      Optional of the amount of memory as it could be null if none set