Class EmailReminderJob

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

@Component public class EmailReminderJob extends Object implements 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 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 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.