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>
NOOP
Instructs the
that theScheduler
has no further instructions.Trigger
RE_EXECUTE_JOB
Instructs the
that theScheduler
wants theTrigger
to re-execute immediately. If not in a 'RECOVERING' or 'FAILED_OVER' situation, the execution context will be re-used (giving theJobDetail
Job
the ability to 'see' anything placed in the context by its last execution).SET_TRIGGER_COMPLETE
Instructs the
that theScheduler
should be put in theTrigger
COMPLETE
state.DELETE_TRIGGER
Instructs the
that theScheduler
wants itself deleted.Trigger
SET_ALL_JOB_TRIGGERS_COMPLETE
Instructs the
that allScheduler
Trigger
s referencing the same
as this one should be put in theJobDetail
COMPLETE
state.SET_TRIGGER_ERROR
Instructs the
that allScheduler
Trigger
s referencing the same
as this one should be put in theJobDetail
ERROR
state.SET_ALL_JOB_TRIGGERS_ERROR
Instructs the
that theScheduler
Trigger
should be put in theERROR
state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_TRIGGER
NOOP
RE_EXECUTE_JOB
SET_ALL_JOB_TRIGGERS_COMPLETE
SET_ALL_JOB_TRIGGERS_ERROR
SET_TRIGGER_COMPLETE
SET_TRIGGER_ERROR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Trigger.CompletedExecutionInstruction
valueOf(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
-
-