Package com.azure.compute.batch.models
Class OnAllBatchTasksComplete
java.lang.Object
com.azure.core.util.ExpandableStringEnum<OnAllBatchTasksComplete>
com.azure.compute.batch.models.OnAllBatchTasksComplete
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class OnAllBatchTasksComplete
extends com.azure.core.util.ExpandableStringEnum<OnAllBatchTasksComplete>
The action the Batch service should take when all Tasks in the Job are in the completed state.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OnAllBatchTasksComplete
Do nothing.static final OnAllBatchTasksComplete
Terminate the Job. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OnAllBatchTasksComplete
fromString
(String name) Creates or finds a OnAllBatchTasksComplete from its string representation.static Collection
<OnAllBatchTasksComplete> values()
Gets known OnAllBatchTasksComplete 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. -
TERMINATE_JOB
Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.
-
-
Constructor Details
-
OnAllBatchTasksComplete
Deprecated.Use thefromString(String)
factory method.Creates a new instance of OnAllBatchTasksComplete value.
-
-
Method Details
-
fromString
Creates or finds a OnAllBatchTasksComplete from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding OnAllBatchTasksComplete.
-
values
Gets known OnAllBatchTasksComplete values.- Returns:
- known OnAllBatchTasksComplete values.
-
fromString(String)
factory method.