public enum CronTriggerMisfireInstruction extends Enum<CronTriggerMisfireInstruction>
QuartzCronTrigger
.QuartzJob
,
QuartzCronTrigger
,
QuartzSimpleTrigger
,
CronTrigger
Enum Constant and Description |
---|
DO_NOTHING
See documentation in
CronTrigger.MISFIRE_INSTRUCTION_DO_NOTHING . |
FIRE_ONCE_NOW
See documentation in
CronTrigger.MISFIRE_INSTRUCTION_FIRE_ONCE_NOW . |
IGNORE_MISFIRE_POLICY
See documentation in
Trigger.MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY . |
SMART_POLICY
See documentation in
Trigger.MISFIRE_INSTRUCTION_SMART_POLICY . |
Modifier and Type | Method and Description |
---|---|
int |
getMisfireInstruction()
Gets misfire instruction.
|
static CronTriggerMisfireInstruction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CronTriggerMisfireInstruction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CronTriggerMisfireInstruction SMART_POLICY
Trigger.MISFIRE_INSTRUCTION_SMART_POLICY
.public static final CronTriggerMisfireInstruction IGNORE_MISFIRE_POLICY
Trigger.MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY
.public static final CronTriggerMisfireInstruction DO_NOTHING
CronTrigger.MISFIRE_INSTRUCTION_DO_NOTHING
.public static final CronTriggerMisfireInstruction FIRE_ONCE_NOW
CronTrigger.MISFIRE_INSTRUCTION_FIRE_ONCE_NOW
.public static CronTriggerMisfireInstruction[] values()
for (CronTriggerMisfireInstruction c : CronTriggerMisfireInstruction.values()) System.out.println(c);
public static CronTriggerMisfireInstruction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getMisfireInstruction()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.