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.
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
validateWithVetoing(java.lang.Object target, java.lang.Object propertyValue, org.springframework.validation.Errors errors) Invoke validation with vetoing capabilities |
Methods inherited from class | Name |
---|---|
interface Constraint |
getName, getParameter, getPropertyName, isValid, supports, validate |
Invoke validation with vetoing capabilities
target
- The target to validatepropertyValue
- The property valueerrors
- The errors object