Ensure constraint definitions are valid
---------------------------------------
Key: BVAL-37
URL: https://issues.apache.org/jira/browse/BVAL-37
Project: BeanValidation
Issue Type: Bug
Components: jsr303
Affects Versions: 0.1-incubating
Reporter: Carlos Vara
When defining a new constraint, the annotation must:
- Have a groups() attribute with an empty Class array as default value.
- Have a payload() attribute with an empty Class<? extends Payload> array as
default value.
- Have a message() attribute which returns a String.
- No attribute that starts with 'valid'.
In case this fails, a ConstraintDefinitionException must be thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.