public static class Constraints.ValidateWithValidator extends Constraints.Validator<Object> implements javax.validation.ConstraintValidator<Constraints.ValidateWith,Object>
@ValidateWith
fields.Modifier and Type | Field and Description |
---|---|
static String |
defaultMessage |
Constructor and Description |
---|
ValidateWithValidator() |
ValidateWithValidator(Class clazz) |
Modifier and Type | Method and Description |
---|---|
F.Tuple<String,Object[]> |
getErrorMessageKey() |
void |
initialize(Constraints.ValidateWith constraintAnnotation) |
boolean |
isValid(Object object) |
isValid
public static final String defaultMessage
public ValidateWithValidator()
public ValidateWithValidator(Class clazz)
public void initialize(Constraints.ValidateWith constraintAnnotation)
initialize
in interface javax.validation.ConstraintValidator<Constraints.ValidateWith,Object>
public boolean isValid(Object object)
isValid
in class Constraints.Validator<Object>
object
- the value to test.true
if this value is valid.public F.Tuple<String,Object[]> getErrorMessageKey()
getErrorMessageKey
in class Constraints.Validator<Object>