Package com.azure.compute.batch.models
Class OnBatchTaskFailure
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnBatchTaskFailure>
com.azure.compute.batch.models.OnBatchTaskFailure
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class OnBatchTaskFailure
extends com.azure.core.util.ExpandableStringEnum<OnBatchTaskFailure>
OnTaskFailure enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OnBatchTaskFailure
Do nothing.static final OnBatchTaskFailure
Terminate the Job. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OnBatchTaskFailure
fromString
(String name) Creates or finds a OnBatchTaskFailure from its string representation.static Collection
<OnBatchTaskFailure> values()
Gets known OnBatchTaskFailure values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NO_ACTION
Do nothing. The Job remains active unless terminated or disabled by some other means. -
PERFORM_EXIT_OPTIONS_JOB_ACTION
Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.
-
-
Constructor Details
-
OnBatchTaskFailure
Deprecated.Use thefromString(String)
factory method.Creates a new instance of OnBatchTaskFailure value.
-
-
Method Details
-
fromString
Creates or finds a OnBatchTaskFailure from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OnBatchTaskFailure.
-
values
Gets known OnBatchTaskFailure values.- Returns:
- known OnBatchTaskFailure values.
-
fromString(String)
factory method.