public enum GenieTaskScheduleType extends java.lang.Enum<GenieTaskScheduleType>
GenieTask
can be be scheduled with.Enum Constant and Description |
---|
FIXED_DELAY
When you want your tasked scheduled at a fixed rate but held for a time after the last completion of the task.
|
FIXED_RATE
When you want your task scheduled using a fixed rate in milliseconds.
|
TRIGGER
When you want your task scheduled using a
Trigger . |
Modifier and Type | Method and Description |
---|---|
static GenieTaskScheduleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenieTaskScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenieTaskScheduleType TRIGGER
Trigger
.public static final GenieTaskScheduleType FIXED_RATE
public static final GenieTaskScheduleType FIXED_DELAY
public static GenieTaskScheduleType[] values()
for (GenieTaskScheduleType c : GenieTaskScheduleType.values()) System.out.println(c);
public static GenieTaskScheduleType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null