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