Class BatchJobReleaseTaskState

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

public final class BatchJobReleaseTaskState extends com.azure.core.util.ExpandableStringEnum<BatchJobReleaseTaskState>
BatchJobReleaseTaskState enums.
  • Field Details

    • RUNNING

      public static final BatchJobReleaseTaskState RUNNING
      The Task is currently running (including retrying).
    • COMPLETED

      public static final BatchJobReleaseTaskState COMPLETED
      The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures).
  • Constructor Details

    • BatchJobReleaseTaskState

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

    • fromString

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

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