Class ValidationAutoConfiguration

java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.ValidationAutoConfiguration

@Configuration public class ValidationAutoConfiguration extends Object
Configuration for validation of beans.
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • ValidationAutoConfiguration

      public ValidationAutoConfiguration()
  • Method Details

    • entityValidatorManager

      @Bean @ConditionalOnMissingBean public EntityValidatorManager entityValidatorManager(@Autowired(required=false) List<EntityValidator> validators)
    • ruleValidatorManager

      @Bean @ConditionalOnMissingBean(name="ruleValidatorManager") public EntityValidator ruleValidatorManager(List<RuleValidator> validators)
    • booleanRuleValidator

      @Bean @ConditionalOnMissingBean(name="booleanRuleValidator") public RuleValidator booleanRuleValidator()
    • collectionRuleValidator

      @Bean @ConditionalOnMissingBean(name="collectionRuleValidator") public RuleValidator collectionRuleValidator()
    • dateRuleValidator

      @Bean @ConditionalOnMissingBean(name="dateRuleValidator") public RuleValidator dateRuleValidator()
    • isEmptyCollectionRuleValidator

      @Bean @ConditionalOnMissingBean(name="isEmptyCollectionRuleValidator") public RuleValidator isEmptyCollectionRuleValidator()
    • localeRuleValidator

      @Bean @ConditionalOnMissingBean(name="localeRuleValidator") public RuleValidator localeRuleValidator()
    • moneyRuleValidator

      @Bean @ConditionalOnMissingBean(name="moneyRuleValidator") public RuleValidator moneyRuleValidator()
    • numberRuleValidator

      @Bean @ConditionalOnMissingBean(name="numberRuleValidator") public RuleValidator numberRuleValidator()
    • stringRuleValidator

      @Bean @ConditionalOnMissingBean(name="stringRuleValidator") public RuleValidator stringRuleValidator()