Interface SchedulerService
- All Known Implementing Classes:
SchedulerServiceImpl
public interface SchedulerService
Service for interacting with a job scheduler.
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<ScheduledJob>
getJobs()
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
Gets the collection of jobs currently scheduled to be run.- Returns:
- the collection of scheduled jobs
- Throws:
org.quartz.SchedulerException
-
triggerJob
Triggers the job provided to be run immediately.- Parameters:
job
- the job to be triggered- Throws:
org.quartz.SchedulerException
-