Package org.dspace.app.bulkedit
Class MetadataExportCli
- java.lang.Object
-
- org.dspace.scripts.DSpaceRunnable<MetadataExportScriptConfiguration>
-
- org.dspace.app.bulkedit.MetadataExport
-
- org.dspace.app.bulkedit.MetadataExportCli
-
- All Implemented Interfaces:
Runnable
public class MetadataExportCli extends MetadataExport
-
-
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 Constructor Description MetadataExportCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetFileNameForExportFile()protected voidlogHelpInfo()voidsetup()This method has to be included in every script and handles the setup of the script by parsing the CommandLine and setting the variables-
Methods inherited from class org.dspace.app.bulkedit.MetadataExport
getScriptConfiguration, internalRun
-
Methods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
-
-
-
Method Detail
-
getFileNameForExportFile
protected String getFileNameForExportFile()
- Overrides:
getFileNameForExportFilein classMetadataExport
-
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 classMetadataExport- Throws:
org.apache.commons.cli.ParseException- If something goes wrong
-
logHelpInfo
protected void logHelpInfo()
- Overrides:
logHelpInfoin classMetadataExport
-
-