Package se.ikama.bauta.scheduling
Enum JobTrigger.TriggerType
- java.lang.Object
-
- java.lang.Enum<JobTrigger.TriggerType>
-
- se.ikama.bauta.scheduling.JobTrigger.TriggerType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<JobTrigger.TriggerType>
- Enclosing class:
- JobTrigger
public static enum JobTrigger.TriggerType extends java.lang.Enum<JobTrigger.TriggerType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CRONJOB_COMPLETIONJOB_COMPLETION_OR_FAILURE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobTrigger.TriggerTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static JobTrigger.TriggerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CRON
public static final JobTrigger.TriggerType CRON
-
JOB_COMPLETION
public static final JobTrigger.TriggerType JOB_COMPLETION
-
JOB_COMPLETION_OR_FAILURE
public static final JobTrigger.TriggerType JOB_COMPLETION_OR_FAILURE
-
-
Method Detail
-
values
public static JobTrigger.TriggerType[] 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 (JobTrigger.TriggerType c : JobTrigger.TriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JobTrigger.TriggerType 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
-
-