public interface ScriptedTask
| Modifier and Type | Method and Description |
|---|---|
void |
init(Curator curator,
String taskId)
Initialize task - parameters inform the task of it's invoking curator.
|
int |
performDso(DSpaceObject dso)
Perform the curation task upon passed DSO
|
int |
performId(Context ctx,
String id)
Perform the curation task for passed id
|
void init(Curator curator, String taskId) throws IOException
curator - the Curator controlling this tasktaskId - identifier task should use in invoking servicesIOException - if IO errorint performDso(DSpaceObject dso) throws IOException
dso - the DSpace objectIOException - if IO errorint performId(Context ctx, String id) throws IOException
ctx - DSpace context objectid - persistent ID for DSpace objectIOException - if IO errorCopyright © 2016 DuraSpace. All rights reserved.