public class FieldParser extends Object
Constructor and Description |
---|
FieldParser(FieldConstraints constraints) |
Modifier and Type | Method and Description |
---|---|
protected int |
intToInt(Integer exp)
Maps integer values to another integer equivalence.
|
protected FieldValue<?> |
map(String string) |
protected IntegerFieldValue |
mapToIntegerFieldValue(String string) |
FieldExpression |
parse(String expression)
Parse given expression for a single cron field.
|
protected FieldExpression |
parseBetween(String[] array) |
protected On |
parseOn(String exp) |
protected On |
parseOnWithHash(String exp) |
protected On |
parseOnWithL(String exp) |
protected On |
parseOnWithL(String exp,
IntegerFieldValue daysBefore) |
protected On |
parseOnWithLW(String exp) |
protected On |
parseOnWithQuestionMark(String exp) |
protected On |
parseOnWithW(String exp) |
protected int |
stringToInt(String exp)
Maps string expression to integer.
|
public FieldParser(FieldConstraints constraints)
public FieldExpression parse(String expression)
expression
- - Stringprotected FieldExpression parseBetween(String[] array)
protected On parseOnWithL(String exp, IntegerFieldValue daysBefore)
protected IntegerFieldValue mapToIntegerFieldValue(String string)
protected FieldValue<?> map(String string)
protected int stringToInt(String exp)
exp
- - expression to be mappedprotected int intToInt(Integer exp)
exp
- - integer to be mappedCopyright © 2020 JBoss by Red Hat. All rights reserved.