BatchJobState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchJobState
- com.
- com.
public final class BatchJobState
extends ExpandableStringEnum<BatchJobState>
BatchJobState enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
ACTIVE
The Job is available to have Tasks scheduled. |
|
static final
Batch |
COMPLETED
All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job. |
|
static final
Batch |
DELETING
A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks). |
|
static final
Batch |
DISABLED
A user has disabled the Job. |
|
static final
Batch |
DISABLING
A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate). |
|
static final
Batch |
ENABLING
A user has requested that the Job be enabled, but the enable operation is still in progress. |
|
static final
Batch |
TERMINATING
The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running). |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchJobState() |
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
ACTIVE
public static final BatchJobState ACTIVE
The Job is available to have Tasks scheduled.
COMPLETED
public static final BatchJobState COMPLETED
All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.
DELETING
public static final BatchJobState DELETING
A user has requested that the Job be deleted, but the delete operation is still in progress (for example, because the system is still terminating running Tasks).
DISABLED
public static final BatchJobState DISABLED
A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled.
DISABLING
public static final BatchJobState DISABLING
A user has requested that the Job be disabled, but the disable operation is still in progress (for example, waiting for Tasks to terminate).
ENABLING
public static final BatchJobState ENABLING
A user has requested that the Job be enabled, but the enable operation is still in progress.
TERMINATING
public static final BatchJobState TERMINATING
The Job is about to complete, either because a Job Manager Task has completed or because the user has terminated the Job, but the terminate operation is still in progress (for example, because Job Release Tasks are running).
Constructor Details
BatchJobState
@Deprecated
public BatchJobState()
Deprecated
Creates a new instance of BatchJobState value.
Method Details
fromString
public static BatchJobState fromString(String name)
Creates or finds a BatchJobState from its string representation.
Parameters:
Returns:
values
public static Collection<BatchJobState> values()
Gets known BatchJobState values.
Returns: