org.apertereports.backbone.scheduler
Class CyclicReportOrderJob

java.lang.Object
  extended by org.apertereports.backbone.scheduler.CyclicReportOrderJob
All Implemented Interfaces:
org.quartz.Job

public class CyclicReportOrderJob
extends Object
implements org.quartz.Job

Simple Quartz Job that adapter that picks a cyclic report id from the job context and launches a report generation process.

If somehow the report is not found in the database or another job is being processed at the time of invocation, the generation process is omitted.


Constructor Summary
CyclicReportOrderJob()
           
 
Method Summary
 void execute(org.quartz.JobExecutionContext context)
          Invokes the report order processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicReportOrderJob

public CyclicReportOrderJob()
Method Detail

execute

public void execute(org.quartz.JobExecutionContext context)
             throws org.quartz.JobExecutionException
Invokes the report order processing.

Specified by:
execute in interface org.quartz.Job
Parameters:
context - Scheduler job context
Throws:
org.quartz.JobExecutionException - on scheduler error


Copyright © 2011. All Rights Reserved.