Package org.dspace.statistics.export
Class RetryFailedOpenUrlTracker
- java.lang.Object
-
- org.dspace.scripts.DSpaceRunnable<RetryFailedOpenUrlTrackerScriptConfiguration>
-
- org.dspace.statistics.export.RetryFailedOpenUrlTracker
-
- All Implemented Interfaces:
Runnable
public class RetryFailedOpenUrlTracker extends DSpaceRunnable<RetryFailedOpenUrlTrackerScriptConfiguration>
Script to retry the failed url transmissions to IRUS This script also has an option to add new failed urls for testing purposes
-
-
Field Summary
-
Fields inherited from class org.dspace.scripts.DSpaceRunnable
commandLine, handler
-
-
Constructor Summary
Constructors Constructor Description RetryFailedOpenUrlTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RetryFailedOpenUrlTrackerScriptConfigurationgetScriptConfiguration()This method will return the Configuration that the implementing DSpaceRunnable usesvoidinternalRun()Run the script When the -a option is used, a new "failed" url will be added to the databasevoidsetup()Setups the parameters-
Methods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
-
-
-
Method Detail
-
internalRun
public void internalRun() throws ExceptionRun the script When the -a option is used, a new "failed" url will be added to the database- Specified by:
internalRunin classDSpaceRunnable<RetryFailedOpenUrlTrackerScriptConfiguration>- Throws:
Exception
-
getScriptConfiguration
public RetryFailedOpenUrlTrackerScriptConfiguration getScriptConfiguration()
Description copied from class:DSpaceRunnableThis method will return the Configuration that the implementing DSpaceRunnable uses- Specified by:
getScriptConfigurationin classDSpaceRunnable<RetryFailedOpenUrlTrackerScriptConfiguration>- Returns:
- The
ScriptConfigurationthat this implementing DspaceRunnable uses
-
setup
public void setup() throws org.apache.commons.cli.ParseExceptionSetups the parameters- Specified by:
setupin classDSpaceRunnable<RetryFailedOpenUrlTrackerScriptConfiguration>- Throws:
org.apache.commons.cli.ParseException
-
-