Package org.dspace.ctask.test
Class WorkflowReportTest
- java.lang.Object
-
- org.dspace.curate.AbstractCurationTask
-
- org.dspace.ctask.test.WorkflowReportTest
-
- All Implemented Interfaces:
CurationTask
public class WorkflowReportTest extends AbstractCurationTask
Curation task which simply reports its invocation without changing anything. Meant for testing.- Author:
- mhwood
-
-
Field Summary
-
Fields inherited from class org.dspace.curate.AbstractCurationTask
communityService, configurationService, curator, handleService, itemService, taskId
-
-
Constructor Summary
Constructors Constructor Description WorkflowReportTest()
-
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
-
-
-
-
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
-
-