public enum ScheduleType extends java.lang.Enum<ScheduleType>
Enum Constant and Description |
---|
SCHEDULE_TYPE_DAILY |
SCHEDULE_TYPE_HOURLY |
SCHEDULE_TYPE_MONTHLY |
SCHEDULE_TYPE_ONE_TIME |
SCHEDULE_TYPE_WEEKLY |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLangKey() |
static ScheduleType |
getScheduleType(int type) |
int |
getType() |
void |
setDescription(java.lang.String description) |
java.lang.String |
toString() |
static ScheduleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScheduleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScheduleType SCHEDULE_TYPE_HOURLY
public static final ScheduleType SCHEDULE_TYPE_DAILY
public static final ScheduleType SCHEDULE_TYPE_WEEKLY
public static final ScheduleType SCHEDULE_TYPE_MONTHLY
public static final ScheduleType SCHEDULE_TYPE_ONE_TIME
public static ScheduleType[] values()
for (ScheduleType c : ScheduleType.values()) System.out.println(c);
public static ScheduleType 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 int getType()
public java.lang.String getLangKey()
public void setDescription(java.lang.String description)
public static ScheduleType getScheduleType(int type)
public java.lang.String toString()
toString
in class java.lang.Enum<ScheduleType>