Interface SchedulerInitTask
public interface SchedulerInitTask
Task to be performed when initializing and starting the scheduler.
For example route policies uses this to schedule tasks when the route should be started and stopped etc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initializeTask
(org.quartz.Scheduler scheduler) The task to run when initializing and starting the scheduler (task is only run once).
-
Method Details
-
initializeTask
The task to run when initializing and starting the scheduler (task is only run once).- Parameters:
scheduler
- the scheduler- Throws:
Exception
- can be thrown if error in the task
-