public interface ScriptedTask
| Modifier and Type | Method and Description |
|---|---|
void |
init(Curator curator,
java.lang.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,
java.lang.String id)
Perform the curation task for passed id
|
void init(Curator curator, java.lang.String taskId) throws java.io.IOException
curator - the Curator controlling this tasktaskId - identifier task should use in invoking servicesjava.io.IOExceptionint performDso(DSpaceObject dso) throws java.io.IOException
dso - the DSpace objectjava.io.IOExceptionint performId(Context ctx, java.lang.String id) throws java.io.IOException
ctx - DSpace context objectid - persistent ID for DSpace objectjava.io.IOExceptionCopyright © 2013 DuraSpace. All Rights Reserved.