Class MetaCron.CronJob

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

    public static class MetaCron.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