Annotation Interface ValidEmail


@Target({TYPE,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Constraint(validatedBy=EmailValidator.class) @Documented public @interface ValidEmail
  • Optional Element Summary

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

    • message

      String message
      Default:
      "Invalid Email"
    • groups

      Class<?>[] groups
      Default:
      {}
    • payload

      Class<? extends jakarta.validation.Payload>[] payload
      Default:
      {}