Class Cron.CronJob

  • All Implemented Interfaces:
    org.quartz.Job
    Enclosing class:
    Cron

    public static class Cron.CronJob
    extends Object
    implements org.quartz.Job
    Encapsulates a job to run.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • CronJob

        public CronJob()
    • Method Detail

      • execute

        public void execute​(org.quartz.JobExecutionContext context)
                     throws org.quartz.JobExecutionException
        Gets executed when the cron event gets triggered.
        Specified by:
        execute in interface org.quartz.Job
        Parameters:
        context - the context of the execution
        Throws:
        org.quartz.JobExecutionException - if job fails