Class JobSchedulerService


  • public final class JobSchedulerService
    extends java.lang.Object
    JobSchedulerService
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static JobSchedulerService getInstance()
      Gets the unique instance of the service
      java.util.Date scheduleJob​(org.quartz.JobDetail job, org.quartz.CronTrigger trigger)
      Schedule a job according cron information
      static void shutdown()
      Shutdown the service (Called by the core while the webapp is destroyed)
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static JobSchedulerService getInstance()
        Gets the unique instance of the service
        Returns:
        The service's instance
      • scheduleJob

        public java.util.Date scheduleJob​(org.quartz.JobDetail job,
                                          org.quartz.CronTrigger trigger)
        Schedule a job according cron information
        Parameters:
        job - The Job to schedule
        trigger - The Cron trigger
        Returns:
        Date
      • shutdown

        public static void shutdown()
        Shutdown the service (Called by the core while the webapp is destroyed)