public static enum Runnable.MisfirePolicy extends Enum<Runnable.MisfirePolicy>
Enum Constant and Description |
---|
DO_NOTHING
The misfired triggers will never be fired and the next trigger to be fired will be the next one.
|
FIRE_ONCE
Try to fire one of them as soon as it can.
|
IGNORE
Ignore that there were misfired triggers, and try to fire them all as soon as it can.
|
Modifier and Type | Method and Description |
---|---|
static Runnable.MisfirePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Runnable.MisfirePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Runnable.MisfirePolicy IGNORE
CronScheduleBuilder.withMisfireHandlingInstructionIgnoreMisfires()
and Trigger.MISFIRE_INSTRUCTION_IGNORE_MISFIRE_POLICY
public static final Runnable.MisfirePolicy FIRE_ONCE
CronScheduleBuilder.withMisfireHandlingInstructionFireAndProceed()
and CronTrigger.MISFIRE_INSTRUCTION_FIRE_ONCE_NOW
public static final Runnable.MisfirePolicy DO_NOTHING
CronScheduleBuilder.withMisfireHandlingInstructionDoNothing()
and CronTrigger.MISFIRE_INSTRUCTION_DO_NOTHING
public static Runnable.MisfirePolicy[] values()
for (Runnable.MisfirePolicy c : Runnable.MisfirePolicy.values()) System.out.println(c);
public static Runnable.MisfirePolicy 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 null