Package se.bth.pulse.utility
Class EmailReminderJob
java.lang.Object
se.bth.pulse.utility.EmailReminderJob
- All Implemented Interfaces:
org.quartz.Job
This class is used to send email reminders to users. It is scheduled to run 24 hours before a
report is due. The job and trigger is created in the project admin controller.
-
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
-
EmailReminderJob
public EmailReminderJob()
-
-
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.
-