Package com.azure.compute.batch.models
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchTaskExecutionResultThere was an error during processing of the Task.static final BatchTaskExecutionResultThe Task ran successfully. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchTaskExecutionResultfromString(String name) Creates or finds a BatchTaskExecutionResult from its string representation.static Collection<BatchTaskExecutionResult> values()Gets known BatchTaskExecutionResult values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SUCCESS
The Task ran successfully. -
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.Use thefromString(String)factory method.Creates a new instance of BatchTaskExecutionResult value.
-
-
Method Details
-
fromString
Creates or finds a BatchTaskExecutionResult from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BatchTaskExecutionResult.
-
values
Gets known BatchTaskExecutionResult values.- Returns:
- known BatchTaskExecutionResult values.
-
fromString(String)factory method.