java.lang.Object
java.lang.Enum<JobState>
com.microsoft.azure.management.datalake.analytics.models.JobState
All Implemented Interfaces:
Serializable, Comparable<JobState>, java.lang.constant.Constable

public enum JobState extends Enum<JobState>
Defines values for JobState.
  • Enum Constant Details

    • ACCEPTED

      public static final JobState ACCEPTED
      Enum value Accepted.
    • COMPILING

      public static final JobState COMPILING
      Enum value Compiling.
    • ENDED

      public static final JobState ENDED
      Enum value Ended.
    • NEW

      public static final JobState NEW
      Enum value New.
    • QUEUED

      public static final JobState QUEUED
      Enum value Queued.
    • RUNNING

      public static final JobState RUNNING
      Enum value Running.
    • SCHEDULING

      public static final JobState SCHEDULING
      Enum value Scheduling.
    • STARTING

      public static final JobState STARTING
      Enum value Starting.
    • PAUSED

      public static final JobState PAUSED
      Enum value Paused.
    • WAITING_FOR_CAPACITY

      public static final JobState WAITING_FOR_CAPACITY
      Enum value WaitingForCapacity.
  • Method Details

    • values

      public static JobState[] 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 JobState 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
    • fromString

      public static JobState fromString(String value)
      Parses a serialized value to a JobState instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed JobState object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<JobState>