public class MatchesConstraint extends Object implements Constraint<Matches,String>
| Constructor and Description |
|---|
MatchesConstraint() |
public boolean isValid(Matches annotation, String argument)
ConstraintisValid in interface Constraint<Matches,String>annotation - the annotation to matchargument - the value to be checked