Package org.dspace.orcid.script
Class OrcidBulkPush
java.lang.Object
org.dspace.scripts.DSpaceRunnable<OrcidBulkPushScriptConfiguration<OrcidBulkPush>>
org.dspace.orcid.script.OrcidBulkPush
- All Implemented Interfaces:
Runnable
Script that perform the bulk synchronization with ORCID registry of all the
ORCID queue records that has an profileItem that configure the
synchronization mode equals to BATCH.
- Author:
- Luca Giamminonni (luca.giamminonni at 4science.it)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.dspace.scripts.DSpaceRunnable
DSpaceRunnable.StepResult -
Field Summary
Fields inherited from class org.dspace.scripts.DSpaceRunnable
commandLine, handler, helpCommandLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method will return the Configuration that the implementing DSpaceRunnable usesvoidThis method has to be included in every script and this will be the main execution block for the script that'll contain all the logic neededvoidsetup()This method has to be included in every script and handles the setup of the script by parsing the CommandLine and setting the variablesMethods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
Constructor Details
-
OrcidBulkPush
public OrcidBulkPush()
-
-
Method Details
-
setup
public void setup() throws org.apache.commons.cli.ParseExceptionDescription copied from class:DSpaceRunnableThis method has to be included in every script and handles the setup of the script by parsing the CommandLine and setting the variables- Specified by:
setupin classDSpaceRunnable<OrcidBulkPushScriptConfiguration<OrcidBulkPush>>- Throws:
org.apache.commons.cli.ParseException- If something goes wrong
-
internalRun
Description copied from class:DSpaceRunnableThis method has to be included in every script and this will be the main execution block for the script that'll contain all the logic needed- Specified by:
internalRunin classDSpaceRunnable<OrcidBulkPushScriptConfiguration<OrcidBulkPush>>- Throws:
Exception- If something goes wrong
-
getScriptConfiguration
Description copied from class:DSpaceRunnableThis method will return the Configuration that the implementing DSpaceRunnable uses- Specified by:
getScriptConfigurationin classDSpaceRunnable<OrcidBulkPushScriptConfiguration<OrcidBulkPush>>- Returns:
- The
ScriptConfigurationthat this implementing DspaceRunnable uses
-