Annotation Interface ReportAsSingleViolation


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) @Documented public @interface ReportAsSingleViolation
A constraint annotation hosting this annotation will return the composed annotation error report if any of the composing annotations fail. The error reports of each individual composing constraint are ignored.

Note: Evaluation of composed constraints stops on the first validation error in case the composing constraint is annotated with @ReportAsSingleViolation.