Uses of Class
nl.knaw.dans.bagit.exceptions.conformance.RequiredMetadataFieldNotPresentException
Packages that use RequiredMetadataFieldNotPresentException
-
Uses of RequiredMetadataFieldNotPresentException in nl.knaw.dans.bagit.conformance
Methods in nl.knaw.dans.bagit.conformance that throw RequiredMetadataFieldNotPresentExceptionModifier and TypeMethodDescriptionstatic voidBagProfileChecker.bagConformsToProfile(InputStream jsonProfile, Bag bag) Check a bag against a bagit-profile as described by https://github.com/ruebot/bagit-profiles
Note: This implementation does not check the Serialization part of the profile!static voidBagLinter.checkAgainstProfile(InputStream jsonProfile, Bag bag) Check a bag against a bagit-profile as described by https://github.com/ruebot/bagit-profiles
Note: This implementation does not check the Serialization part of the profile!private static voidBagProfileChecker.checkIfMetadataEntryIsRequired(Map.Entry<String, BagInfoRequirement> bagInfoEntryRequirement, boolean metadataContainsKey) private static voidBagProfileChecker.checkMetadata(Metadata bagMetadata, Map<String, BagInfoRequirement> bagInfoEntryRequirements)