Groovy Documentation

## org.codehaus.groovy.grails.validation
[Java] Interface VetoingConstraint

    org.springframework.context.MessageSourceAware
      org.codehaus.groovy.grails.validation.VetoingConstraint
          org.codehaus.groovy.grails.validation.Constraint

All Superinterfaces:
  MessageSourceAware, Constraint

    public interface VetoingConstraint
    extends Constraint

Marker interface for vetoing constraint.

Vetoing constraints are those which might return 'true' from validateWithVetoing method to prevent any additional validation of the property. These constraints are proceeded before any other constraints, and validation continues only if no one of vetoing constraint hadn't vetoed.

Authors:
  Sergey Nebolsin ()

Groovy Documentation