|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.parse.CronParameter
public class CronParameter
Hold parameters for timer:at.
Nested Class Summary | |
---|---|
static class |
CronParameter.CronOperator
Enumeration for special keywords in crontab timer. |
Constructor Summary | |
---|---|
CronParameter(String cronOperator,
String day)
Ctor. |
Method Summary | |
---|---|
Set<Integer> |
getValuesInRange(int min,
int max)
Return a set of int values representing the value of the parameter for the given range. |
boolean |
isWildcard(int min,
int max)
Returns true if all values between and including min and max are supplied by the parameter. |
void |
setMonth(int month)
Sets the month value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CronParameter(String cronOperator, String day)
cronOperator
- is the operator as textday
- is the day textMethod Detail |
---|
public void setMonth(int month)
month
- to setpublic boolean isWildcard(int min, int max)
NumberSetParameter
isWildcard
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
public Set<Integer> getValuesInRange(int min, int max)
NumberSetParameter
getValuesInRange
in interface NumberSetParameter
min
- - lower end of rangemax
- - upper end of range
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |