Package org.dspace.harvest.service
Interface HarvestSchedulingService
-
- All Known Implementing Classes:
HarvestSchedulingServiceImpl
public interface HarvestSchedulingServiceService interface class for the scheduling of harvesting tasks. The implementation of this class is responsible for all business logic calls for the harvesting tasks and is autowired by spring- Author:
- kevinvandevelde at atmire.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidpauseScheduler()Pause an active harvest scheduler.voidresetScheduler()voidresumeScheduler()Resume a paused harvest scheduler.voidstartNewScheduler()Start harvest scheduler.voidstopScheduler()Stop an active harvest scheduler.
-
-
-
Method Detail
-
startNewScheduler
void startNewScheduler() throws SQLException, AuthorizeExceptionStart harvest scheduler.- Throws:
SQLException- An exception that provides information on a database access error or other errors.AuthorizeException- Exception indicating the current user of the context does not have permission to perform a particular action.
-
stopScheduler
void stopScheduler() throws SQLException, AuthorizeExceptionStop an active harvest scheduler.- Throws:
SQLException- An exception that provides information on a database access error or other errors.AuthorizeException- Exception indicating the current user of the context does not have permission to perform a particular action.
-
pauseScheduler
void pauseScheduler() throws SQLException, AuthorizeExceptionPause an active harvest scheduler.- Throws:
SQLException- An exception that provides information on a database access error or other errors.AuthorizeException- Exception indicating the current user of the context does not have permission to perform a particular action.
-
resumeScheduler
void resumeScheduler() throws SQLException, AuthorizeExceptionResume a paused harvest scheduler.- Throws:
SQLException- An exception that provides information on a database access error or other errors.AuthorizeException- Exception indicating the current user of the context does not have permission to perform a particular action.
-
resetScheduler
void resetScheduler() throws SQLException, AuthorizeException, IOException- Throws:
IOException- A general class of exceptions produced by failed or interrupted I/O operations.SQLException- An exception that provides information on a database access error or other errors.AuthorizeException- Exception indicating the current user of the context does not have permission to perform a particular action.
-
-