public class SendMailSchedulable extends AbstractStaticSchedulable
Schedulable
job for sending emails.AbstractStaticSchedulable.SchedulableParameterParser
Modifier and Type | Field and Description |
---|---|
static String |
BODY_KEY
The key for the body of the email
|
static String |
IS_HTML_BODY_KEY
The key for the HTML state of the body of the email
|
static String |
RECIPIENTS_KEY
The key for the recipients of the email
|
static String |
SENDER_KEY
The key for the sender of the email
|
static String |
SUBJECT_KEY
The key for the subject of the email
|
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _smanager
Constructor and Description |
---|
SendMailSchedulable() |
Modifier and Type | Method and Description |
---|---|
void |
execute(JobExecutionContext context)
The action to perform when a trigger is fired.
|
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, isPrivate, service, setPluginInfo
getLogger, setLogger
public static final String SENDER_KEY
public static final String RECIPIENTS_KEY
public static final String SUBJECT_KEY
public static final String BODY_KEY
public static final String IS_HTML_BODY_KEY
public SendMailSchedulable()
public void execute(JobExecutionContext context) throws Exception
Schedulable
execute
in interface Schedulable
execute
in class AbstractStaticSchedulable
context
- the contextException
- if an error occured