Class IntegerBasedExpression
java.lang.Object
org.jboss.as.ejb3.timerservice.schedule.attribute.IntegerBasedExpression
Represents a
Integer type value in a ScheduleExpression.
Examples for IntegerBasedExpression are the value of seconds, years, months etc...
which allow Integer.
- Version:
- $Revision: $
- Author:
- Jaikiran Pai
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final Set<ScheduleValue>protected final ScheduleExpressionType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract booleanaccepts(ScheduleExpressionType scheduleExprType) protected voidassertValid(Integer value) protected abstract Integerprotected abstract IntegergetType()abstract booleanisRelativeValue(String value) Checks if relative value is supported.protected Integerprotected voidprotected voidprocessListItem(String listItem) protected voidprocessListValue(ListValue list) protected voidprocessRangeValue(RangeValue range) protected voidprocessSingleValue(SingleValue singleValue)
-
Field Details
-
absoluteValues
-
relativeValues
-
scheduleExpressionType
-
origValue
-
-
Constructor Details
-
IntegerBasedExpression
-
-
Method Details
-
getMaxValue
-
getMinValue
-
accepts
-
processListValue
-
processListItem
-
processRangeValue
-
processIncrement
-
processSingleValue
-
parseInt
-
assertValid
- Throws:
IllegalArgumentException
-
isRelativeValue
Checks if relative value is supported.- Parameters:
value- non-null value- Returns:
- true if relative value is supported
-
getType
-