Enum Trigger.CompletedExecutionInstruction
- java.lang.Object
-
- java.lang.Enum<Trigger.CompletedExecutionInstruction>
-
- org.quartz.Trigger.CompletedExecutionInstruction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Trigger.CompletedExecutionInstruction>
- Enclosing interface:
- Trigger
public static enum Trigger.CompletedExecutionInstruction extends java.lang.Enum<Trigger.CompletedExecutionInstruction>
NOOPInstructs thethat theSchedulerhas no further instructions.TriggerRE_EXECUTE_JOBInstructs thethat theSchedulerwants theTriggerto re-execute immediately. If not in a 'RECOVERING' or 'FAILED_OVER' situation, the execution context will be re-used (giving theJobDetailJobthe ability to 'see' anything placed in the context by its last execution).SET_TRIGGER_COMPLETEInstructs thethat theSchedulershould be put in theTriggerCOMPLETEstate.DELETE_TRIGGERInstructs thethat theSchedulerwants itself deleted.TriggerSET_ALL_JOB_TRIGGERS_COMPLETEInstructs thethat allSchedulerTriggers referencing the sameas this one should be put in theJobDetailCOMPLETEstate.SET_TRIGGER_ERRORInstructs thethat allSchedulerTriggers referencing the sameas this one should be put in theJobDetailERRORstate.SET_ALL_JOB_TRIGGERS_ERRORInstructs thethat theSchedulerTriggershould be put in theERRORstate.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_TRIGGERNOOPRE_EXECUTE_JOBSET_ALL_JOB_TRIGGERS_COMPLETESET_ALL_JOB_TRIGGERS_ERRORSET_TRIGGER_COMPLETESET_TRIGGER_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Trigger.CompletedExecutionInstructionvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
NOOP
public static final Trigger.CompletedExecutionInstruction NOOP
-
RE_EXECUTE_JOB
public static final Trigger.CompletedExecutionInstruction RE_EXECUTE_JOB
-
SET_TRIGGER_COMPLETE
public static final Trigger.CompletedExecutionInstruction SET_TRIGGER_COMPLETE
-
DELETE_TRIGGER
public static final Trigger.CompletedExecutionInstruction DELETE_TRIGGER
-
SET_ALL_JOB_TRIGGERS_COMPLETE
public static final Trigger.CompletedExecutionInstruction SET_ALL_JOB_TRIGGERS_COMPLETE
-
SET_TRIGGER_ERROR
public static final Trigger.CompletedExecutionInstruction SET_TRIGGER_ERROR
-
SET_ALL_JOB_TRIGGERS_ERROR
public static final Trigger.CompletedExecutionInstruction SET_ALL_JOB_TRIGGERS_ERROR
-
-
Method Detail
-
values
public static Trigger.CompletedExecutionInstruction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Trigger.CompletedExecutionInstruction c : Trigger.CompletedExecutionInstruction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Trigger.CompletedExecutionInstruction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-