Enum ScheduleExpressionType
java.lang.Object
java.lang.Enum<ScheduleExpressionType>
org.jboss.as.ejb3.timerservice.schedule.value.ScheduleExpressionType
- All Implemented Interfaces:
Serializable,Comparable<ScheduleExpressionType>
Represents the type of expression used in the values of a
ScheduleExpression- Version:
- $Revision: $
- Author:
- Jaikiran Pai
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents a value represented as an increment.Represents a value represented as a list.Represents a value represented as a range.Represents a single value type.Represents a wildcard "*" value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleExpressionTypestatic ScheduleExpressionTypeReturns the enum constant of this type with the specified name.static ScheduleExpressionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SINGLE_VALUE
Represents a single value type.For example:
- second = "10"
- month = "Jun"
-
WILDCARD
Represents a wildcard "*" value.For example:
- second = "*"
-
LIST
Represents a value represented as a list.For example:
- second = "1, 10"
- dayOfMonth = "Sun, Fri, Mon"
-
RANGE
Represents a value represented as a range.For example:
- minute = "0-15"
- year = "2009-2012
-
INCREMENT
Represents a value represented as an increment.For example:
- hour = "* / 3"
- minute = "20 / 10
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getType
-