Class FetchManifest

  • All Implemented Interfaces:
    org.dspace.curate.CurationTask

    public class FetchManifest
    extends org.dspace.curate.AbstractCurationTask
    FetchManifest task will simply retrieve a manifest representation of the object into the local staging area

    Manifests conform to the CDL Checkm v0.7 manifest format spec. http://www.cdlib.org/uc3/docs/checkmspec.html

    Author:
    richardrodgers
    See Also:
    TransmitManifest
    • Field Summary

      • Fields inherited from class org.dspace.curate.AbstractCurationTask

        communityService, configurationService, curator, handleService, itemService, taskId
    • Constructor Summary

      Constructors 
      Constructor Description
      FetchManifest()  
    • Constructor Detail

      • FetchManifest

        public FetchManifest()
    • Method Detail

      • init

        public void init​(org.dspace.curate.Curator curator,
                         String taskId)
                  throws IOException
        Specified by:
        init in interface org.dspace.curate.CurationTask
        Overrides:
        init in class org.dspace.curate.AbstractCurationTask
        Throws:
        IOException
      • perform

        public int perform​(org.dspace.content.DSpaceObject dso)
                    throws IOException
        Perform 'Fetch Manifest' task
        Specified by:
        perform in interface org.dspace.curate.CurationTask
        Specified by:
        perform in class org.dspace.curate.AbstractCurationTask
        Parameters:
        dso - DSpace Object to perform on
        Returns:
        integer which represents Curator return status
        Throws:
        IOException - if I/O error