Class IsEmptyCollectionRuleValidator

java.lang.Object
com.broadleafcommerce.data.tracking.core.mapping.validation.rules.AbstractRegexRuleValidator
com.broadleafcommerce.data.tracking.core.mapping.validation.rules.IsEmptyCollectionRuleValidator
All Implemented Interfaces:
RuleValidator, org.springframework.core.Ordered

public class IsEmptyCollectionRuleValidator extends AbstractRegexRuleValidator
Validate a SPEL expression that qualifies a collection variable's empty state
Author:
Jeff Fischer
  • Field Details

  • Constructor Details

    • IsEmptyCollectionRuleValidator

      public IsEmptyCollectionRuleValidator()
  • Method Details

    • getRegex

      public String getRegex()
      Description copied from class: AbstractRegexRuleValidator
      A regular expression pattern used to match and validate a SPEL-based rule
      Specified by:
      getRegex in class AbstractRegexRuleValidator
      Returns:
      A regular expression pattern used to match and validate a SPEL-based rule
    • setRegex

      public void setRegex(String regex)