Package org.dspace.harvest.service
Interface HarvestSchedulingService
- All Known Implementing Classes:
HarvestSchedulingServiceImpl
public interface HarvestSchedulingService
Service 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
Modifier and TypeMethodDescriptionvoidPause an active harvest scheduler.voidvoidResume a paused harvest scheduler.voidStart harvest scheduler.voidStop an active harvest scheduler.
-
Method Details
-
startNewScheduler
Start 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
Stop 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
Pause 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
Resume 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
- 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.
-