Class SpaceManifestSnapshotManifestVerifier
java.lang.Object
org.duracloud.snapshot.service.impl.SpaceManifestSnapshotManifestVerifier
This class verifies that the space manifest and the snapshot manifests match. It
will ignore the .collection-snapshot.properties file on the space manifest
side. Additionally, since the snapshot manifest is a stitched view of what should
be in the space, the stitched, rather than the unstitched, view of the space
is used for comparison.
- Author:
- Daniel Bernstien
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceManifestSnapshotManifestVerifier(File md5Manifest, org.duracloud.manifeststitch.StitchedManifestGenerator generator, String spaceId) -
Method Summary
-
Constructor Details
-
SpaceManifestSnapshotManifestVerifier
-
-
Method Details
-
getSpaceId
-
verify
public boolean verify()Performs the verification.- Returns:
- true if verification was a success. Otherwise false. Errors can be obtained by calling getErrors() after execution completes.
-
getErrors
-