|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.TimerTask | +--planetj.util.CMTimerTask | +--planetj.dataengine.task.DataEngineTimerTask | +--planetj.dataengine.autorun.AutoRunTask | +--planetj.dataengine.autorun.EmailTask
A Task used for sending out an operation periodically via email
Constructor Summary | |
EmailTask(EmailOperation emailOperation,
Operation targetOperation)
EMailTask constructor |
Method Summary | |
void |
autoRun()
The action to be performed by this task. |
PropertyGroup |
getAlternateEmailPropertyGroup()
Gets properties from another email property group. |
EmailOperation |
getEmailOperation()
Gets this EmailTask's Email Operation |
int |
getEmailOperationId()
Gets the ID of this EMailTask's Email Operation |
long |
getFrequency()
Gets the frequency (in seconds) at which the task should run |
CMMailer |
getMailer()
Gets the mailer to use |
Date |
getStartTime()
Gets the exact day and time when this task should begin executing |
Methods inherited from class planetj.dataengine.autorun.AutoRunTask |
clone, cloneTask, getAutoRunOperation, getAutoRunOperationId, getMetadataAlias, getTargetOperation, getTargetOperationId, performTask, setAutoRunOperationId |
Methods inherited from class planetj.dataengine.task.DataEngineTimerTask |
postTask, preTask |
Methods inherited from class planetj.util.CMTimerTask |
addListener, getNewTaskEvent, getTaskEvent, removeListener, run |
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EmailTask(EmailOperation emailOperation, Operation targetOperation)
Method Detail |
public void autoRun() throws CMException
autoRun
in class AutoRunTask
CMException
public PropertyGroup getAlternateEmailPropertyGroup() throws CMException
CMException
public EmailOperation getEmailOperation() throws CMException
CMException
public int getEmailOperationId()
public long getFrequency() throws CMException
getFrequency
in class AutoRunTask
CMException
public CMMailer getMailer() throws CMException
CMException
public Date getStartTime() throws CMException
getStartTime
in class AutoRunTask
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |