public enum SchedulingType extends java.lang.Enum<SchedulingType> implements EnumClass<java.lang.String>
| Enum Constant and Description |
|---|
CRON |
FIXED_DELAY |
PERIOD |
| Modifier and Type | Method and Description |
|---|---|
static SchedulingType |
fromId(java.lang.String id) |
java.lang.String |
getId() |
static java.lang.String |
getId(SchedulingType schedulingType) |
static SchedulingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SchedulingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulingType CRON
public static final SchedulingType PERIOD
public static final SchedulingType FIXED_DELAY
public static SchedulingType[] values()
for (SchedulingType c : SchedulingType.values()) System.out.println(c);
public static SchedulingType 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 nullpublic static java.lang.String getId(SchedulingType schedulingType)
public static SchedulingType fromId(java.lang.String id)