Interface ModelExtensionsValidator

All Superinterfaces:
ModelValidationErrorProducer, ModelValidator

public interface ModelExtensionsValidator extends ModelValidator
Business logic related with validation of the extensions of a model
  • Method Details

    • validateModelExtensions

      default Collection<ModelValidationError> validateModelExtensions(byte[] modelContent, ValidationContext validationContext)
      Validate the given model content.
      Parameters:
      modelContent - the model content to validate
      validationContext - the validation context
    • getHandledContentType

      default String getHandledContentType()
      Get handled content type by this validator (by default JSON).
      Specified by:
      getHandledContentType in interface ModelValidator
      Returns:
      handled content type