Package io.quarkus.quartz.runtime
Enum Class QuartzStartMode
- All Implemented Interfaces:
Serializable
,Comparable<QuartzStartMode>
,Constable
Deprecated, for removal: This API element is subject to removal in a future version.
Defines starting modes of Quartz scheduler
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Scheduler will be started even if no scheduled business methods are found.Deprecated, for removal: This API element is subject to removal in a future version.Just like forced mode but the scheduler will not start triggering jobs until an explicit start is called from the main scheduler.Deprecated, for removal: This API element is subject to removal in a future version.Scheduler is not started unless aScheduled
business method is found. -
Method Summary
Modifier and TypeMethodDescriptionstatic QuartzStartMode
Deprecated, for removal: This API element is subject to removal in a future version.Returns the enum constant of this class with the specified name.static QuartzStartMode[]
values()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Deprecated, for removal: This API element is subject to removal in a future version.Scheduler is not started unless aScheduled
business method is found. -
FORCED
Deprecated, for removal: This API element is subject to removal in a future version.Scheduler will be started even if no scheduled business methods are found. This is necessary for "pure" programmatic scheduling. -
HALTED
Deprecated, for removal: This API element is subject to removal in a future version.Just like forced mode but the scheduler will not start triggering jobs until an explicit start is called from the main scheduler. This is useful to programmatically register listeners before scheduler starts performing some work.
-
-
Method Details
-
values
Deprecated, for removal: This API element is subject to removal in a future version.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
Deprecated, for removal: This API element is subject to removal in a future version.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
-
SchedulerRuntimeConfig.StartMode
instead.