Interface ArchiveDataSchemaValidator
public interface ArchiveDataSchemaValidator
-
Method Summary
Modifier and TypeMethodDescriptionIn case of content type clashes, validators are ordered according to precedence noted by@Orderannotations.ch.admin.bit.jeap.processarchive.plugin.api.archivedata.schema.ArchiveDataSchemavalidatePayloadConformsToSchema(ch.admin.bit.jeap.processarchive.plugin.api.archivedata.ArchiveData archiveData)
-
Method Details
-
getContentTypes
In case of content type clashes, validators are ordered according to precedence noted by@Orderannotations.- 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 inArchiveData.getSchema()
-