public class AdmSendMassEmail.ScheduledMessage extends ScheduledTask
| Modifier and Type | Field and Description |
|---|---|
(package private) FlashMailMessage |
msg
The message to send.
|
private static long |
serialVersionUID
The class' serialization version id.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ScheduledMessage(AdmSendMassEmail.Context ctx,
FlashMailMessage msg)
Constructs a new message scheduled task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executeTask()
Executes the message scheduled task.
|
protected void |
saveToFile()
Saves the task information to a file in the temp folder for possible
later use.
|
cancel, equals, getFuture, getId, getName, getNextExecution, getRerun, isBusy, isCanceled, run, setFuture, setId, setName, setRerunprivate static final long serialVersionUID
FlashMailMessage msg
protected ScheduledMessage(AdmSendMassEmail.Context ctx, FlashMailMessage msg) throws java.lang.Exception
ctx - (Context) The current servlet context.msg - (FlashMailMessage) The message to process.java.lang.Exception - - if an error occurs while constructing the task.public void executeTask()
executeTask in class ScheduledTaskprotected void saveToFile()
throws java.lang.Exception
java.lang.Exception - - if an error occurs while saving the task.