adams.flow.standalone
Class Cron.CronJob

java.lang.Object
  extended by adams.flow.standalone.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.

Version:
$Revision: 5867 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Constructor Summary
Cron.CronJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Gets executed when the cron event gets triggered.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cron.CronJob

public Cron.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


Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.