public class CRONParserValidator extends BaseParserValidator<String>
Modifier and Type | Field and Description |
---|---|
static String |
CRON_TYPE |
protected static String |
CRON_TYPE_REGEXP |
model
Constructor and Description |
---|
CRONParserValidator(String model) |
Modifier and Type | Method and Description |
---|---|
protected Converter<String> |
createConverter(String model)
Create a converter used by this parser
|
protected Validator<String> |
createValidator(String model,
Converter<String> converter)
Create a validator used by this parser, using eventually a converter
|
Class |
getClassType()
Returns the class used by this parser to convert string parameter values.
|
String |
getType()
Return the name of the parser type
|
String |
getTypeRegexp()
Returns a model regexp able to match the parser type.
|
parseAndGetOneGroup, parseAndGetRegexGroups, parseAndValidate, parseAndValidate
public static final String CRON_TYPE
protected static final String CRON_TYPE_REGEXP
public CRONParserValidator(String model) throws ModelSyntaxException
ModelSyntaxException
public String getType()
BaseParserValidator
getType
in class BaseParserValidator<String>
public String getTypeRegexp()
BaseParserValidator
getTypeRegexp
in class BaseParserValidator<String>
public Class getClassType()
BaseParserValidator
getClassType
in class BaseParserValidator<String>
protected Converter<String> createConverter(String model) throws ModelSyntaxException
BaseParserValidator
createConverter
in class BaseParserValidator<String>
model
- model used to create the converterModelSyntaxException
protected Validator<String> createValidator(String model, Converter<String> converter) throws ModelSyntaxException
BaseParserValidator
createValidator
in class BaseParserValidator<String>
model
- model used to create the validatorconverter
- converter eventually used to create the validatorModelSyntaxException