org.apache.struts.beanvalidation.constraints

## Annotation Type ValidationGroup

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
      public @interface ValidationGroup

  Validation with Group Constrains on execution method (Action)

  Example, Validate with on special group

         @ValidationGroup(CarChecks.class)
         @Action...

  Example, Validate with severals special group

         @ValidationGroup(Default.class, CarChecks.class, DriverChecks.class)
         @Action...

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>[]` | `value`

- - ### Element Detail

    - #### value

          public abstract Class<?>[] value

      Default:
        javax.validation.groups.Default.class

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.