Interface ArchiveDataSchemaValidator


public interface ArchiveDataSchemaValidator
  • Method Summary

    Modifier and Type
    Method
    Description
    In case of content type clashes, validators are ordered according to precedence noted by @Order annotations.
    ch.admin.bit.jeap.processarchive.plugin.api.archivedata.schema.ArchiveDataSchema
    validatePayloadConformsToSchema(ch.admin.bit.jeap.processarchive.plugin.api.archivedata.ArchiveData archiveData)
     
  • Method Details

    • getContentTypes

      Set<String> getContentTypes()
      In case of content type clashes, validators are ordered according to precedence noted by @Order annotations.
      Returns:
      Content types supported by this validator (see ArchiveData.getContentType())
    • validatePayloadConformsToSchema

      ch.admin.bit.jeap.processarchive.plugin.api.archivedata.schema.ArchiveDataSchema validatePayloadConformsToSchema(ch.admin.bit.jeap.processarchive.plugin.api.archivedata.ArchiveData archiveData)
      Parameters:
      archiveData - Archive data for which the payload is validated if it is well-formed
      Throws:
      SchemaValidationException - If the archive data payload does not conform to the schema specified in ArchiveData.getSchema()