Interface GroupValidator


public interface GroupValidator
Does 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

    Modifier and Type
    Method
    Description
    <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.
  • Method Details

    • 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 context
      violations - set of violations
      groups - array of validation groups