BatchAllTasksCompleteMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchAllTasksCompleteMode
- com.
- com.
public final class BatchAllTasksCompleteMode
extends ExpandableStringEnum<BatchAllTasksCompleteMode>
The action the Batch service should take when all Tasks in the Job are in the completed state.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
NO_ACTION
Do nothing. |
|
static final
Batch |
TERMINATE_JOB
Terminate the Job. |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchAllTasksCompleteMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromString(String name)
Creates or finds a Batch |
|
static
Collection<Batch |
values()
Gets known Batch |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NO_ACTION
public static final BatchAllTasksCompleteMode NO_ACTION
Do nothing. The Job remains active unless terminated or disabled by some other means.
TERMINATE_JOB
public static final BatchAllTasksCompleteMode TERMINATE_JOB
Terminate the Job. The Job's terminationReason is set to 'AllTasksComplete'.
Constructor Details
BatchAllTasksCompleteMode
@Deprecated
public BatchAllTasksCompleteMode()
Deprecated
Creates a new instance of BatchAllTasksCompleteMode value.
Method Details
fromString
public static BatchAllTasksCompleteMode fromString(String name)
Creates or finds a BatchAllTasksCompleteMode from its string representation.
Parameters:
Returns:
values
public static Collection<BatchAllTasksCompleteMode> values()
Gets known BatchAllTasksCompleteMode values.
Returns: