All Superinterfaces:
org.springframework.core.Ordered
All Known Implementing Classes:
AbstractRegexRuleValidator, BooleanRuleValidator, CollectionRuleValidator, DateRuleValidator, IsEmptyCollectionRuleValidator, LocaleRuleValidator, MoneyRuleValidator, NumberRuleValidator, StringRuleValidator

public interface RuleValidator extends org.springframework.core.Ordered
Specializes in validation of RuleValidate annotated fields. RuleValidator instances encapsulate a single type of rule and are leveraged in unison via RuleValidatorManager.
Author:
Jeff Fischer
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
     
    validate(RuleInspector.RuleExpression target, org.springframework.validation.Errors errors)
     
  • Method Details