Annotation Type ValidateWith


@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface ValidateWith
Annotation to be placed on payload classes or on classes that you validate manually using ValidationUtils. If this annotation is present, the validation will be carried out using the specified groups.

If no groups are specified or this annotation is missing validation will be carried out using the default group.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
    Validation groups to include when this class is validated.
  • Element Details

    • value

      Class<?>[] value
      Validation groups to include when this class is validated.