Interface ConstraintValidator


public interface ConstraintValidator
Validator of a constraint, provided by ConstraintValidatorProvider.
  • Method Details

    • check

      ValidatorResponse check(ValidatorContext context, Object value)
      Validation the value against the configured constraint.
      Parameters:
      context - validation context
      value - value to validate, may be null
      Returns:
      validation response