Interface GroupValidator
-
public interface GroupValidatorDoes shallow group-specific validation. Group sequences and Default group overriding are not directly supported by implementations of this interface. Instead, this is used by higher-level validators to delegate the validation of specific areas.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> voidvalidateGroups(GwtValidationContext<T> context, Set<javax.validation.ConstraintViolation<T>> violations, Group... groups)Validates the given group(s) (may not include group sequences) and adds any violations to the set.
-
-
-
Method Detail
-
validateGroups
<T> void validateGroups(GwtValidationContext<T> context, Set<javax.validation.ConstraintViolation<T>> violations, Group... groups)
Validates the given group(s) (may not include group sequences) and adds any violations to the set.- Type Parameters:
T- the type of the RootBean for this validation context- Parameters:
context- validation contextviolations- set of violationsgroups- array of validation groups
-
-