Class ReportJob

java.lang.Object
se.bth.pulse.utility.ReportJob
All Implemented Interfaces:
org.quartz.Job

@Component public class ReportJob extends Object implements org.quartz.Job
This class is used to create reports for projects. It is scheduled to run the same time the last report is due or when the project starts.
  • Constructor Details

    • ReportJob

      public ReportJob()
  • Method Details

    • execute

      public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
      Is run when a job is set to be executed.
      Specified by:
      execute in interface org.quartz.Job
      Parameters:
      context - - The context of the job. Contains the project id.
      Throws:
      org.quartz.JobExecutionException - - If the job fails to execute.