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