Class CompareWithManifest
- java.lang.Object
-
- org.dspace.curate.AbstractCurationTask
-
- org.dspace.ctask.replicate.checkm.CompareWithManifest
-
- All Implemented Interfaces:
org.dspace.curate.CurationTask
@Distributive public class CompareWithManifest extends org.dspace.curate.AbstractCurationTaskCompareWithManifest task compares local repository content against the representation contained in the replica store manifest.Manifests conform to the CDL Checkm v0.7 manifest format spec. http://www.cdlib.org/uc3/docs/checkmspec.html
- Author:
- richardrodgers
- See Also:
TransmitManifest
-
-
Constructor Summary
Constructors Constructor Description CompareWithManifest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(org.dspace.curate.Curator curator, String taskId)intperform(org.dspace.content.DSpaceObject dso)Perform 'Compare with Manifest' task
-
-
-
Method Detail
-
init
public void init(org.dspace.curate.Curator curator, String taskId) throws IOException- Specified by:
initin interfaceorg.dspace.curate.CurationTask- Overrides:
initin classorg.dspace.curate.AbstractCurationTask- Throws:
IOException
-
perform
public int perform(org.dspace.content.DSpaceObject dso) throws IOExceptionPerform 'Compare with Manifest' task- Specified by:
performin interfaceorg.dspace.curate.CurationTask- Specified by:
performin classorg.dspace.curate.AbstractCurationTask- Parameters:
dso- DSpace Object to perform on- Returns:
- integer which represents Curator return status
- Throws:
IOException- if I/O error
-
-