public abstract class IntegerBasedExpression extends Object
Integer
type value in a ScheduleExpression
.
Examples for IntegerBasedExpression
are the value of seconds, years, months etc...
which allow Integer
.
Modifier and Type | Field and Description |
---|---|
protected SortedSet<Integer> |
absoluteValues |
protected String |
origValue |
protected Set<ScheduleValue> |
relativeValues |
protected ScheduleExpressionType |
scheduleExpressionType |
Constructor and Description |
---|
IntegerBasedExpression(String value) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
accepts(ScheduleExpressionType scheduleExprType) |
protected void |
assertValid(Integer value) |
protected abstract Integer |
getMaxValue() |
protected abstract Integer |
getMinValue() |
abstract boolean |
isRelativeValue(String value) |
protected Integer |
parseInt(String alias) |
protected void |
processIncrement(IncrementValue incr) |
protected void |
processListItem(String listItem) |
protected void |
processListValue(ListValue list) |
protected void |
processRangeValue(RangeValue range) |
protected void |
processSingleValue(SingleValue singleValue) |
protected final Set<ScheduleValue> relativeValues
protected final ScheduleExpressionType scheduleExpressionType
protected final String origValue
public IntegerBasedExpression(String value)
protected abstract Integer getMaxValue()
protected abstract Integer getMinValue()
protected abstract boolean accepts(ScheduleExpressionType scheduleExprType)
protected void processListValue(ListValue list)
protected void processListItem(String listItem)
protected void processRangeValue(RangeValue range)
protected void processIncrement(IncrementValue incr)
protected void processSingleValue(SingleValue singleValue)
protected void assertValid(Integer value) throws IllegalArgumentException
IllegalArgumentException
public abstract boolean isRelativeValue(String value)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.