Class PublicationLoaderRunnableCli
java.lang.Object
org.dspace.scripts.DSpaceRunnable<PublicationLoaderScriptConfiguration<PublicationLoaderRunnable>>
org.dspace.app.suggestion.openaire.PublicationLoaderRunnable
org.dspace.app.suggestion.openaire.PublicationLoaderRunnableCli
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.dspace.scripts.DSpaceRunnable
DSpaceRunnable.StepResult -
Field Summary
Fields inherited from class org.dspace.app.suggestion.openaire.PublicationLoaderRunnable
context, profileFields 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 usesvoidsetup()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.app.suggestion.openaire.PublicationLoaderRunnable
internalRunMethods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
Constructor Details
-
PublicationLoaderRunnableCli
public PublicationLoaderRunnableCli()
-
-
Method Details
-
getScriptConfiguration
Description copied from class:DSpaceRunnableThis method will return the Configuration that the implementing DSpaceRunnable uses- Overrides:
getScriptConfigurationin classPublicationLoaderRunnable- Returns:
- The
ScriptConfigurationthat this implementing DspaceRunnable uses
-
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- Overrides:
setupin classPublicationLoaderRunnable- Throws:
org.apache.commons.cli.ParseException- If something goes wrong
-