Class BatchStartTaskState

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

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

    • RUNNING

      public static final BatchStartTaskState RUNNING
      The StartTask is currently running.
    • COMPLETED

      public static final BatchStartTaskState COMPLETED
      The StartTask has exited with exit code 0, or the StartTask has failed and the retry limit has reached, or the StartTask process did not run due to Task preparation errors (such as resource file download failures).
  • Constructor Details

    • BatchStartTaskState

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

    • fromString

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

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