public class CronExpressionConstraint extends Object implements Constraint<CronExpression,String>
| Constructor and Description |
|---|
CronExpressionConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(CronExpression annotation,
String cronExpression)
For each value or parameter which should be checked this method will be invoked.
|
public boolean isValid(CronExpression annotation, String cronExpression)
ConstraintisValid in interface Constraint<CronExpression,String>annotation - the annotation to matchcronExpression - the value to be checked