Package io.micronaut.email.validation
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
-
Field Summary
-
Field Details
-
MESSAGE
AnyRecipient message.- See Also:
-
-
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:
- {}
-