Enum Class JobData.State

java.lang.Object
java.lang.Enum<JobData.State>
com.denodo.scheduler.client.job.JobData.State
All Implemented Interfaces:
Serializable, Comparable<JobData.State>, Constable
Enclosing class:
JobData

public static enum JobData.State extends Enum<JobData.State>
An enumeration of job states.
  • Enum Constant Details

    • NOT_RUNNING

      public static final JobData.State NOT_RUNNING
      Job state for indicating that the job not currently being executed.
    • RUNNING

      public static final JobData.State RUNNING
      Job state for indicating that the job is currently executing.
    • DISABLED

      public static final JobData.State DISABLED
      Job state for indicating that the job is in pause state.
    • WAITING

      public static final JobData.State WAITING
      Job state for indicating that the job is waiting for its dependencies to be satisfied
    • DRAFT

      public static final JobData.State DRAFT
      Job state for draft jobs (not scheduled).
  • Method Details

    • values

      public static JobData.State[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JobData.State valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null