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