Interface SchedulerService

  • All Known Implementing Classes:
    SchedulerServiceImpl

    public interface SchedulerService
    Service for interacting with a job scheduler.
    • Method Detail

      • getJobs

        @NotNull
        @NotNull List<ScheduledJob> getJobs()
                                     throws org.quartz.SchedulerException
        Gets the collection of jobs currently scheduled to be run.
        Returns:
        the collection of scheduled jobs
        Throws:
        org.quartz.SchedulerException
      • triggerJob

        void triggerJob​(@NotNull
                        @NotNull ScheduledJob job)
                 throws org.quartz.SchedulerException
        Triggers the job provided to be run immediately.
        Parameters:
        job - the job to be triggered
        Throws:
        org.quartz.SchedulerException