Enum AbstractJobEntry.ScheduleType
- java.lang.Object
-
- java.lang.Enum<AbstractJobEntry.ScheduleType>
-
- org.apache.turbine.services.schedule.AbstractJobEntry.ScheduleType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractJobEntry.ScheduleType>
- Enclosing class:
- AbstractJobEntry
protected static enum AbstractJobEntry.ScheduleType extends Enum<AbstractJobEntry.ScheduleType>
schedule types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAILY
DAY_OF_MONTH
MINUTE
SECOND
WEEK_DAY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractJobEntry.ScheduleType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractJobEntry.ScheduleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECOND
public static final AbstractJobEntry.ScheduleType SECOND
-
MINUTE
public static final AbstractJobEntry.ScheduleType MINUTE
-
WEEK_DAY
public static final AbstractJobEntry.ScheduleType WEEK_DAY
-
DAY_OF_MONTH
public static final AbstractJobEntry.ScheduleType DAY_OF_MONTH
-
DAILY
public static final AbstractJobEntry.ScheduleType DAILY
-
-
Method Detail
-
values
public static AbstractJobEntry.ScheduleType[] 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 (AbstractJobEntry.ScheduleType c : AbstractJobEntry.ScheduleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractJobEntry.ScheduleType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-