Package org.dspace.ctask.replicate
Class FetchAIP
- java.lang.Object
-
- org.dspace.curate.AbstractCurationTask
-
- org.dspace.ctask.replicate.FetchAIP
-
- All Implemented Interfaces:
org.dspace.curate.CurationTask
public class FetchAIP extends org.dspace.curate.AbstractCurationTaskFetchAIP task will simply retrieve replica representations of the object into the local staging area.- Author:
- richardrodgers
- See Also:
TransmitAIP
-
-
Constructor Summary
Constructors Constructor Description FetchAIP()
-
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 the 'Fetch AIP' taskintperform(org.dspace.core.Context ctx, String id)Perform the 'Fetch AIP' 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 the 'Fetch AIP' 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
-
perform
public int perform(org.dspace.core.Context ctx, String id) throws IOExceptionPerform the 'Fetch AIP' task- Specified by:
performin interfaceorg.dspace.curate.CurationTask- Overrides:
performin classorg.dspace.curate.AbstractCurationTask- Parameters:
ctx- DSpace Contextid- ID of object whose AIP should be fetched- Returns:
- integer which represents Curator return status
- Throws:
IOException- if I/O error
-
-