Package org.dspace.ctask.general
Class NoOpCurationTask
- java.lang.Object
-
- org.dspace.curate.AbstractCurationTask
-
- org.dspace.ctask.general.NoOpCurationTask
-
- All Implemented Interfaces:
CurationTask
public class NoOpCurationTask extends AbstractCurationTask
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringresultprotected intstatus-
Fields inherited from class org.dspace.curate.AbstractCurationTask
communityService, configurationService, curator, handleService, itemService, taskId
-
-
Constructor Summary
Constructors Constructor Description NoOpCurationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intperform(DSpaceObject dso)Perform the curation task upon passed DSO-
Methods inherited from class org.dspace.curate.AbstractCurationTask
dereference, distribute, init, perform, performItem, performObject, report, setResult, taskArrayProperty, taskBooleanProperty, taskIntProperty, taskLongProperty, taskProperty
-
-
-
-
Field Detail
-
status
protected int status
-
result
protected String result
-
-
Method Detail
-
perform
public int perform(DSpaceObject dso) throws IOException
Description copied from interface:CurationTaskPerform the curation task upon passed DSO- Specified by:
performin interfaceCurationTask- Specified by:
performin classAbstractCurationTask- Parameters:
dso- the DSpace object- Returns:
- status code
- Throws:
IOException- if error
-
-