Package com.azure.compute.batch.models
Class BatchJobPreparationTaskState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchJobPreparationTaskState>
com.azure.compute.batch.models.BatchJobPreparationTaskState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class BatchJobPreparationTaskState
extends com.azure.core.util.ExpandableStringEnum<BatchJobPreparationTaskState>
BatchJobPreparationTaskState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchJobPreparationTaskState
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).static final BatchJobPreparationTaskState
The Task is currently running (including retrying). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchJobPreparationTaskState
fromString
(String name) Creates or finds a BatchJobPreparationTaskState from its string representation.values()
Gets known BatchJobPreparationTaskState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
RUNNING
The Task is currently running (including retrying). -
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
-
BatchJobPreparationTaskState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BatchJobPreparationTaskState value.
-
-
Method Details
-
fromString
Creates or finds a BatchJobPreparationTaskState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding BatchJobPreparationTaskState.
-
values
Gets known BatchJobPreparationTaskState values.- Returns:
- known BatchJobPreparationTaskState values.
-
fromString(String)
factory method.