|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.type.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(int cronOperator,
String day,
long engineTime)
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. |
void |
toEPL(StringWriter writer)
Returns the EPL representation of the parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CronParameter(int cronOperator, String day, long engineTime)
cronOperator
- is the operator as textday
- is the day textengineTime
- is the current engine timeMethod Detail |
---|
public void toEPL(StringWriter writer)
EPLParameterType
toEPL
in interface EPLParameterType
toEPL
in interface NumberSetParameter
writer
- for output topublic 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
|
© 2007 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |