Class SpaceManifestSnapshotManifestVerifier

java.lang.Object
org.duracloud.snapshot.service.impl.SpaceManifestSnapshotManifestVerifier

public class SpaceManifestSnapshotManifestVerifier extends Object
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 Details

    • SpaceManifestSnapshotManifestVerifier

      public SpaceManifestSnapshotManifestVerifier(File md5Manifest, org.duracloud.manifeststitch.StitchedManifestGenerator generator, String spaceId)
  • Method Details

    • getSpaceId

      public String 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

      public List<String> getErrors()