|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@PublicApi public interface CronExpressionValidator
| Method Summary | |
|---|---|
boolean |
isValid(String cronExpression)
Returns true if the cron expression can be parsed successfully. |
void |
validate(String cronExpression)
Validates that a cron expression can be successfully parsed. |
| Method Detail |
|---|
boolean isValid(String cronExpression)
true if the cron expression can be parsed successfully.
This is equivalent to calling validate(String) except that it returns a boolean value
as opposed to throwing an exception when the expression is not valid.
cronExpression - the cron expression to be considered
true if the cron expression can be parsed successfully; false otherwise.
void validate(String cronExpression)
throws CronSyntaxException
cronExpression - the cron expression to be considered
CronSyntaxException - if the cron expression contains invalid syntax
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||