Class BatchTaskExecutionResult

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

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

    • SUCCESS

      public static final BatchTaskExecutionResult SUCCESS
      The Task ran successfully.
    • FAILURE

      public static final BatchTaskExecutionResult FAILURE
      There was an error during processing of the Task. The failure may have occurred before the Task process was launched, while the Task process was executing, or after the Task process exited.
  • Constructor Details

    • BatchTaskExecutionResult

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

    • fromString

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

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