Class AnyRecipientValidator

java.lang.Object
io.micronaut.email.validation.AnyRecipientValidator
All Implemented Interfaces:
jakarta.validation.ConstraintValidator<AnyRecipient,Email>

@Introspected public class AnyRecipientValidator extends Object implements jakarta.validation.ConstraintValidator<AnyRecipient,Email>
Builds ConstraintValidator for AnyRecipient for Email.
Since:
2.0.2
Author:
Sergio del Amo
  • Constructor Details

    • AnyRecipientValidator

      public AnyRecipientValidator()
  • Method Details

    • isValid

      public boolean isValid(Email value, jakarta.validation.ConstraintValidatorContext context)
      Specified by:
      isValid in interface jakarta.validation.ConstraintValidator<AnyRecipient,Email>