public interface CurationTask
| 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
|
void init(Curator curator, String taskId) throws IOException
curator - the Curator controlling this tasktaskId - identifier task should use in invoking servicesIOExceptionint perform(DSpaceObject dso) throws IOException
dso - the DSpace objectIOExceptionint perform(Context ctx, String id) throws IOException
ctx - DSpace context objectid - persistent ID for DSpace objectExceptionIOExceptionCopyright © 2014 DuraSpace. All Rights Reserved.