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 Detail

      • startNewScheduler

        void startNewScheduler()
                        throws SQLException,
                               AuthorizeException
        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

        void stopScheduler()
                    throws SQLException,
                           AuthorizeException
        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

        void pauseScheduler()
                     throws SQLException,
                            AuthorizeException
        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

        void resumeScheduler()
                      throws SQLException,
                             AuthorizeException
        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

        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.