Class BooleanValidator

java.lang.Object
com.broadleafcommerce.dataimport.service.validation.EnumeratedValueValidator
com.broadleafcommerce.dataimport.service.validation.BooleanValidator
All Implemented Interfaces:
ImportFieldValidator

public final class BooleanValidator extends EnumeratedValueValidator
Component to validate boolean values in an import file. If the cell is not empty, then this looks for the following values, which can be mapped to boolean: true or false. If the field is empty, then validation succeeds, as if the value is null or undetermined.
Author:
Kelly Tisdell (ktisdell)
  • Constructor Details

    • BooleanValidator

      public BooleanValidator()