Interface CronPattern.ValueParser
-
- Enclosing class:
- CronPattern
protected static interface CronPattern.ValueParserDefinition for a value parser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxValue()Returns the maximum value accepted by the parser.intgetMinValue()Returns the minimum value accepted by the parser.intparse(String sValue)Attempts to parse a value.
-
-
-
Method Detail
-
parse
int parse(String sValue) throws Exception
Attempts to parse a value.- Parameters:
sValue- the value- Returns:
- the parsed value
- Throws:
Exception- if the value can't be parsed
-
getMinValue
int getMinValue()
Returns the minimum value accepted by the parser.- Returns:
- The minimum value accepted by the parser
-
getMaxValue
int getMaxValue()
Returns the maximum value accepted by the parser.- Returns:
- The maximum value accepted by the parser
-
-