Package play.data.validation
Annotation Type Constraints.ValidatePayloadWith
-
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Constraint(validatedBy=ValidatePayloadWithValidator.class) @Repeatable(List.class) public static @interface Constraints.ValidatePayloadWith
Defines a custom validator.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends Constraints.ValidatorWithPayload>
value
-
-
-
Element Detail
-
value
Class<? extends Constraints.ValidatorWithPayload> value
-
-
-
message
String message
- Default:
- "error.invalid"
-
-
-
groups
Class<?>[] groups
- Default:
- {}
-
-
-
payload
Class<? extends javax.validation.Payload>[] payload
- Default:
- {}
-
-