Class ValidationAutoConfiguration
java.lang.Object
com.broadleafcommerce.data.tracking.core.autoconfigure.ValidationAutoConfiguration
Configuration for validation of beans.
- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionentityValidatorManager
(List<EntityValidator> validators) ruleValidatorManager
(List<RuleValidator> validators)
-
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
-
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()
-