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
-
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 usesvoidRun the script When the -a option is used, a new "failed" url will be added to the databasevoidsetup()Setups the parametersMethods inherited from class org.dspace.scripts.DSpaceRunnable
getEpersonIdentifier, getFileNamesFromInputStreamOptions, initialize, printHelp, run, setEpersonIdentifier
-
Constructor Details
-
RetryFailedOpenUrlTracker
public RetryFailedOpenUrlTracker()
-
-
Method Details
-
internalRun
Run 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
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
-