@Suspendable public class RequiredMetadata extends AbstractCurationTask
| Modifier and Type | Field and Description |
|---|---|
protected DCInputsReader |
reader |
protected Map<String,List<String>> |
reqMap |
communityService, configurationService, curator, handleService, itemService, taskId| Constructor and Description |
|---|
RequiredMetadata() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getReqList(String handle) |
void |
init(Curator curator,
String taskId)
Initialize task - parameters inform the task of it's invoking curator.
|
int |
perform(DSpaceObject dso)
Perform the curation task upon passed DSO
|
dereference, distribute, perform, performItem, performObject, report, setResult, taskArrayProperty, taskBooleanProperty, taskIntProperty, taskLongProperty, taskPropertyprotected DCInputsReader reader
public 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
perform in interface CurationTaskperform in class AbstractCurationTaskdso - the DSpace objectIOException - if IO errorprotected List<String> getReqList(String handle) throws DCInputsReaderException
DCInputsReaderExceptionCopyright © 2016 DuraSpace. All rights reserved.