Interface ExcelSingleMediaValidator

All Superinterfaces:
ExcelValidator
All Known Implementing Classes:
ExcelMediaCatalogVersionValidator, ExcelMediaCollectionImportValidator, ExcelMediaFilenameExtensionValidator, ExcelMediaImportValidator

public interface ExcelSingleMediaValidator extends ExcelValidator
Allows to validate single media file. It is used by ExcelMediaCollectionImportValidator which splits the collection of media and validates it one by one.
  • Method Details

    • validateSingleValue

      Collection<ValidationMessage> validateSingleValue(Map<String,Object> context, Map<String,String> parameters)
      Allows to validate single media.
      Parameters:
      context - which allows to hold information about the file.
      parameters - values of excel's cell.
      Returns:
      the collection of errors. If media has no errors, then the empty collection should be returned.