Class BatchJobState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchJobState>
com.azure.compute.batch.models.BatchJobState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class BatchJobState extends com.azure.core.util.ExpandableStringEnum<BatchJobState>
BatchJobState enums.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BatchJobState
    The Job is available to have Tasks scheduled.
    static final BatchJobState
    All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.
    static final BatchJobState
    A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).
    static final BatchJobState
    A user has disabled the Job.
    static final BatchJobState
    A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).
    static final BatchJobState
    A user has requested that the Job be enabled, but the enable operation is still in progress.
    static final BatchJobState
    The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a BatchJobState from its string representation.
    Gets known BatchJobState values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • ACTIVE

      public static final BatchJobState ACTIVE
      The Job is available to have Tasks scheduled.
    • DISABLING

      public static final BatchJobState DISABLING
      A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).
    • DISABLED

      public static final BatchJobState DISABLED
      A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled.
    • ENABLING

      public static final BatchJobState ENABLING
      A user has requested that the Job be enabled, but the enable operation is still in progress.
    • TERMINATING

      public static final BatchJobState TERMINATING
      The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).
    • COMPLETED

      public static final BatchJobState COMPLETED
      All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.
    • DELETING

      public static final BatchJobState DELETING
      A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).
  • Constructor Details

    • BatchJobState

      @Deprecated public BatchJobState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of BatchJobState value.
  • Method Details

    • fromString

      public static BatchJobState fromString(String name)
      Creates or finds a BatchJobState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding BatchJobState.
    • values

      public static Collection<BatchJobState> values()
      Gets known BatchJobState values.
      Returns:
      known BatchJobState values.