Package play.data.validation
Interface Constraints.PlayConstraintValidatorWithPayload<A extends Annotation,T>
-
- All Superinterfaces:
Constraints.PlayConstraintValidator<A,T>
,javax.validation.ConstraintValidator<A,T>
- All Known Implementing Classes:
Constraints.ValidateValidatorWithPayload
- Enclosing class:
- Constraints
public static interface Constraints.PlayConstraintValidatorWithPayload<A extends Annotation,T> extends Constraints.PlayConstraintValidator<A,T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isValid(T value, javax.validation.ConstraintValidatorContext constraintValidatorContext)
boolean
isValid(T value, Constraints.ValidationPayload payload, javax.validation.ConstraintValidatorContext constraintValidatorContext)
-
Methods inherited from interface play.data.validation.Constraints.PlayConstraintValidator
reportValidationStatus, validationSuccessful
-
-
-
-
Method Detail
-
isValid
default boolean isValid(T value, javax.validation.ConstraintValidatorContext constraintValidatorContext)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<A extends Annotation,T>
-
isValid
boolean isValid(T value, Constraints.ValidationPayload payload, javax.validation.ConstraintValidatorContext constraintValidatorContext)
-
-