Enum Class SchedulerStatus
- All Implemented Interfaces:
Serializable,Comparable<SchedulerStatus>,Constable
Status for the scheduler.
- Since:
- 1.37
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe scheduler has been stopped and will not execute any more jobs without manual intervention.The scheduler has been paused, is not executing any more jobs, and can be re-started.The scheduler has started and is scheduling jobs normally.The scheduler is starting up, but not yet executing any jobs.The scheduler is not in any known state. -
Method Summary
Modifier and TypeMethodDescriptionstatic SchedulerStatusReturns the enum constant of this class with the specified name.static SchedulerStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Starting
The scheduler is starting up, but not yet executing any jobs. -
Running
The scheduler has started and is scheduling jobs normally. -
Paused
The scheduler has been paused, is not executing any more jobs, and can be re-started. -
Destroyed
The scheduler has been stopped and will not execute any more jobs without manual intervention. -
Unknown
The scheduler is not in any known state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-