public static enum Trigger.CompletedExecutionInstruction extends Enum<Trigger.CompletedExecutionInstruction>
NOOP Instructs the that the Scheduler has no further instructions.
Trigger
RE_EXECUTE_JOB Instructs the that the Scheduler wants the
Trigger to re-execute immediately. If not in a 'RECOVERING' or 'FAILED_OVER' situation, the execution
context will be re-used (giving the JobDetailJob the ability to 'see' anything placed in the context by its last execution).
SET_TRIGGER_COMPLETE Instructs the that the Scheduler should be put in the
TriggerCOMPLETE state.
DELETE_TRIGGER Instructs the that the Scheduler wants itself deleted.
Trigger
SET_ALL_JOB_TRIGGERS_COMPLETE Instructs the that all SchedulerTriggers referencing the same
as this one should be put in the JobDetailCOMPLETE state.
SET_TRIGGER_ERROR Instructs the that all SchedulerTriggers referencing the same
as this one should be put in the JobDetailERROR state.
SET_ALL_JOB_TRIGGERS_ERROR Instructs the that the SchedulerTrigger should be put in the
ERROR state.
| Enum Constant and Description |
|---|
DELETE_TRIGGER |
NOOP |
RE_EXECUTE_JOB |
SET_ALL_JOB_TRIGGERS_COMPLETE |
SET_ALL_JOB_TRIGGERS_ERROR |
SET_TRIGGER_COMPLETE |
SET_TRIGGER_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static Trigger.CompletedExecutionInstruction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Trigger.CompletedExecutionInstruction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trigger.CompletedExecutionInstruction NOOP
public static final Trigger.CompletedExecutionInstruction RE_EXECUTE_JOB
public static final Trigger.CompletedExecutionInstruction SET_TRIGGER_COMPLETE
public static final Trigger.CompletedExecutionInstruction DELETE_TRIGGER
public static final Trigger.CompletedExecutionInstruction SET_ALL_JOB_TRIGGERS_COMPLETE
public static final Trigger.CompletedExecutionInstruction SET_TRIGGER_ERROR
public static final Trigger.CompletedExecutionInstruction SET_ALL_JOB_TRIGGERS_ERROR
public static Trigger.CompletedExecutionInstruction[] values()
for (Trigger.CompletedExecutionInstruction c : Trigger.CompletedExecutionInstruction.values()) System.out.println(c);
public static Trigger.CompletedExecutionInstruction 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 nullCopyright © 2011–2017 Knowm Inc.. All rights reserved.