Package com.azure.compute.batch.models
Class BatchJobScheduleState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<BatchJobScheduleState>
com.azure.compute.batch.models.BatchJobScheduleState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class BatchJobScheduleState
extends com.azure.core.util.ExpandableStringEnum<BatchJobScheduleState>
BatchJobScheduleState enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BatchJobScheduleStateThe Job Schedule is active and will create Jobs as per its schedule.static final BatchJobScheduleStateThe Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly.static final BatchJobScheduleStateThe user has requested that the Job Schedule be deleted, but the delete operation is still in progress.static final BatchJobScheduleStateThe user has disabled the Job Schedule.static final BatchJobScheduleStateThe Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchJobScheduleStatefromString(String name) Creates or finds a BatchJobScheduleState from its string representation.static Collection<BatchJobScheduleState> values()Gets known BatchJobScheduleState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ACTIVE
The Job Schedule is active and will create Jobs as per its schedule. -
COMPLETED
The Job Schedule has terminated, either by reaching its end time or by the user terminating it explicitly. -
DISABLED
The user has disabled the Job Schedule. The scheduler will not initiate any new Jobs will on this schedule, but any existing active Job will continue to run. -
TERMINATING
The Job Schedule has no more work to do, or has been explicitly terminated by the user, but the termination operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, nor is any existing Job active. -
DELETING
The user has requested that the Job Schedule be deleted, but the delete operation is still in progress. The scheduler will not initiate any new Jobs for this Job Schedule, and will delete any existing Jobs and Tasks under the Job Schedule, including any active Job. The Job Schedule will be deleted when all Jobs and Tasks under the Job Schedule have been deleted.
-
-
Constructor Details
-
BatchJobScheduleState
Deprecated.Use thefromString(String)factory method.Creates a new instance of BatchJobScheduleState value.
-
-
Method Details
-
fromString
Creates or finds a BatchJobScheduleState from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding BatchJobScheduleState.
-
values
Gets known BatchJobScheduleState values.- Returns:
- known BatchJobScheduleState values.
-
fromString(String)factory method.