play.data.validation
Annotation Type Constraints.Email
@Target(value=FIELD)
@Retention(value=RUNTIME)
@Constraint(validatedBy=Constraints.EmailValidator.class)
public static @interface Constraints.Email
Defines a email constraint for a string field.
Optional Element Summary |
java.lang.Class<?>[] |
groups
|
java.lang.String |
message
|
java.lang.Class<? extends javax.validation.Payload>[] |
payload
|
message
public abstract java.lang.String message
- Default:
- "error.email"
groups
public abstract java.lang.Class<?>[] groups
- Default:
- {}
payload
public abstract java.lang.Class<? extends javax.validation.Payload>[] payload
- Default:
- {}