Interface SchedulerService

All Known Implementing Classes:
SchedulerServiceImpl

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

    Modifier and Type
    Method
    Description
    @NotNull List<ScheduledJob>
    Gets the collection of jobs currently scheduled to be run.
    void
    triggerJob(@NotNull ScheduledJob job)
    Triggers the job provided to be run immediately.
  • Method Details

    • 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