public class PropertyParameterTestingTask extends AbstractCurationTask
To test parameters and properties, set a value for the run parameter "runParameter" or the task property "taskProperty".
This is a debugging tool, NOT a regression test.
communityService, configurationService, curator, handleService, itemService, taskId| Constructor and Description |
|---|
PropertyParameterTestingTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Curator curator,
String taskId)
Initialize task - parameters inform the task of it's invoking curator.
|
int |
perform(Context ctx,
String id)
Perform the curation task for passed id
|
int |
perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
dereference, distribute, performItem, performObject, report, setResult, taskArrayProperty, taskBooleanProperty, taskIntProperty, taskLongProperty, taskPropertypublic void init(Curator curator, String taskId) throws IOException
CurationTaskinit in interface CurationTaskinit in class AbstractCurationTaskcurator - the Curator controlling this tasktaskId - identifier task should use in invoking servicesIOException - if errorpublic int perform(DSpaceObject dso) throws IOException
CurationTaskperform in interface CurationTaskperform in class AbstractCurationTaskdso - the DSpace objectIOException - if errorpublic int perform(Context ctx, String id) throws IOException
CurationTaskperform in interface CurationTaskperform in class AbstractCurationTaskctx - DSpace context objectid - persistent ID for DSpace objectIOException - if errorCopyright © 2019 DuraSpace. All rights reserved.