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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void initializeTask​(org.quartz.Scheduler scheduler)
      The task to run when initializing and starting the scheduler (task is only run once).
    • Method Detail

      • initializeTask

        void initializeTask​(org.quartz.Scheduler scheduler)
                     throws Exception
        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