Package se.bth.pulse.utility
Class ReportJob
java.lang.Object
se.bth.pulse.utility.ReportJob
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(org.quartz.JobExecutionContext context) Is run when a job is set to be executed.
-
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 interfaceorg.quartz.Job
- Parameters:
context
- - The context of the job. Contains the project id.- Throws:
org.quartz.JobExecutionException
- - If the job fails to execute.
-