@PersistJobDataAfterExecution @DisallowConcurrentExecution public class MailSenderJob extends Object implements org.quartz.Job
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
static org.slf4j.Logger |
logger |
static String |
MAIL_IDS_TO_MARK_AS_SENT |
static String |
MAIL_SENDER_KEY |
Constructor and Description |
---|
MailSenderJob() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext jobExecutionContext) |
static void |
schedule(MailSender mailSender,
Configuration mailConfiguration,
String group)
Utility method to schedule the job at a fixed interval.
|
public static final String copyright
public static final String MAIL_SENDER_KEY
public static final String MAIL_IDS_TO_MARK_AS_SENT
public static final org.slf4j.Logger logger
public void execute(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
public static void schedule(MailSender mailSender, Configuration mailConfiguration, String group) throws org.quartz.SchedulerException
org.quartz.SchedulerException