jakarta.validation.groups.package-info Maven / Gradle / Ivy
The newest version!
/*
* Jakarta Validation API
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or .
*/
/**
* A group defines a subset of constraints. Instead of
* validating all constraints for a given object graph,
* only a subset is validated depending on the group targeted.
*
* Each constraint declaration defines the list of groups it belongs to.
* If no group is explicitly declared, a constraint belongs to the
* {@link jakarta.validation.groups.Default} group.
*
* When applying validation, the list of target groups is passed along.
* If no group is explicitly passed along, the
* {@code jakarta.validation.groups.Default} group is used.
*
* During cascading, groups can be converted from one to another by
* the use of {@link jakarta.validation.groups.ConvertGroup}
*/
package jakarta.validation.groups;