Annotation Interface AnyRecipient


@Constraint(validatedBy=AnyRecipientValidator.class) @Target(TYPE) @Retention(RUNTIME) public @interface AnyRecipient
The annotated type must have a recipient.
Since:
1.0.0
Author:
Sergio del Amo
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<?>[]
     
     
    Class<? extends jakarta.validation.Payload>[]
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    AnyRecipient message.
  • Field Details

  • Element Details

    • message

      String message
      Returns:
      message The error message
      Default:
      "{io.micronaut.email.validation.AnyRecipient.message}"
    • groups

      Class<?>[] groups
      Returns:
      Groups to control the order in which constraints are evaluated, or to perform validation of the partial state of a JavaBean.
      Default:
      {}
    • payload

      Class<? extends jakarta.validation.Payload>[] payload
      Returns:
      Payloads used by validation clients to associate some metadata information with a given constraint declaration
      Default:
      {}