Package com.azure.compute.batch.models
Class BatchJobState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchJobState>
com.azure.compute.batch.models.BatchJobState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
BatchJobState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchJobState
The Job is available to have Tasks scheduled.static final BatchJobState
All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job.static final BatchJobState
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 BatchJobState
A user has disabled the Job.static final BatchJobState
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 BatchJobState
A user has requested that the Job be enabled, but the enable operation is still in progress.static final BatchJobState
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchJobState
fromString
(String name) Creates or finds a BatchJobState from its string representation.static Collection
<BatchJobState> values()
Gets known BatchJobState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVE
The Job is available to have Tasks scheduled. -
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). -
DISABLED
A user has disabled the Job. No Tasks are running, and no new Tasks will be scheduled. -
ENABLING
A user has requested that the Job be enabled, but the enable operation is still in progress. -
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). -
COMPLETED
All Tasks have terminated, and the system will not accept any more Tasks or any further changes to the Job. -
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).
-
-
Constructor Details
-
BatchJobState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of BatchJobState value.
-
-
Method Details
-
fromString
Creates or finds a BatchJobState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding BatchJobState.
-
values
Gets known BatchJobState values.- Returns:
- known BatchJobState values.
-
fromString(String)
factory method.