BatchJobPreparationTaskState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchJobPreparationTaskState
- com.
- com.
public final class BatchJobPreparationTaskState
extends ExpandableStringEnum<BatchJobPreparationTaskState>
BatchJobPreparationTaskState enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
COMPLETED
The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures). |
|
static final
Batch |
RUNNING
The Task is currently running (including retrying). |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchJobPreparationTaskState() |
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
COMPLETED
public static final BatchJobPreparationTaskState COMPLETED
The Task has exited with exit code 0, or the Task has exhausted its retry limit, or the Batch service was unable to start the Task due to Task preparation errors (such as resource file download failures).
RUNNING
public static final BatchJobPreparationTaskState RUNNING
The Task is currently running (including retrying).
Constructor Details
BatchJobPreparationTaskState
@Deprecated
public BatchJobPreparationTaskState()
Deprecated
Creates a new instance of BatchJobPreparationTaskState value.
Method Details
fromString
public static BatchJobPreparationTaskState fromString(String name)
Creates or finds a BatchJobPreparationTaskState from its string representation.
Parameters:
Returns:
values
public static Collection<BatchJobPreparationTaskState> values()
Gets known BatchJobPreparationTaskState values.
Returns: