gov.loc.repository.bagit.verify.ManifestVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bagit Show documentation
Show all versions of bagit Show documentation
The BAGIT LIBRARY is a software library intended to support the creation, manipulation, and validation of bags. Its current version is 0.97. It is version aware with the earliest supported version being 0.93.
package gov.loc.repository.bagit.verify;
import gov.loc.repository.bagit.Bag;
import gov.loc.repository.bagit.Manifest;
import gov.loc.repository.bagit.utilities.SimpleResult;
import java.util.List;
public interface ManifestVerifier {
public static final String CODE_PAYLOAD_MANIFEST_CONTAINS_INVALID_FILE = "payload_manifest_contains_invalid_file";
public static final String CODE_TAG_MANIFEST_CONTAINS_INVALID_FILE = "tag_manifest_contains_invalid_file";
SimpleResult verify(Manifest manifest, Bag bag);
SimpleResult verify(List manifests, Bag bag);
}