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 servicesIOExceptionint performDso(DSpaceObject dso) throws IOException
dso - the DSpace objectIOExceptionint performId(Context ctx, String id) throws IOException
ctx - DSpace context objectid - persistent ID for DSpace objectIOExceptionCopyright © 2013 DuraSpace. All Rights Reserved.