|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.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 | |
protected |
EmailTask()
EMailTask constructor comment. |
|
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. |
protected java.lang.String |
getBody(Operation mTargetOperation)
Gets the body of the email |
protected DistributionPropertyGroup |
getDistributionPropertyGroup()
Gets the property group containing the distribution properties |
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 |
java.util.Date |
getStartTime()
Gets the exact day and time when this task should begin executing |
protected void |
setEmailOperationId(int newSourceOperationId)
Sets the ID of this EmailTask's EmailOperation |
| Methods inherited from class planetj.dataengine.autorun.AutoRunTask |
clone, cloneTask, getAutoRunOperation, getAutoRunOperationId, getAutoRunPropertyGroup, getMetadataAlias, getTargetOperation, getTargetOperationId, performTask, setAutoRunOperationId, setMetadataAlias, setTargetOperationId |
| Methods inherited from class planetj.dataengine.task.DataEngineTimerTask |
postTask, preTask |
| Methods inherited from class planetj.util.CMTimerTask |
addListener, getNewTaskEvent, getTaskEvent, removeListener, run, taskCompleted, taskFailed, taskStarted |
| Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected EmailTask()
public EmailTask(EmailOperation emailOperation,
Operation targetOperation)
| Method Detail |
public void autoRun()
throws CMException
autoRun in class AutoRunTaskCMException
public PropertyGroup getAlternateEmailPropertyGroup()
throws CMException
CMException
protected java.lang.String getBody(Operation mTargetOperation)
throws CMException
CMException
protected DistributionPropertyGroup getDistributionPropertyGroup()
throws CMException
CMException
public EmailOperation getEmailOperation()
throws CMException
CMExceptionpublic int getEmailOperationId()
public long getFrequency()
throws CMException
getFrequency in class AutoRunTaskCMException
public CMMailer getMailer()
throws CMException
CMException
public java.util.Date getStartTime()
throws CMException
getStartTime in class AutoRunTaskCMExceptionprotected void setEmailOperationId(int newSourceOperationId)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||