public class DynamicSchedulingCronTask extends ODMECronTask
Constructor and Description |
---|
DynamicSchedulingCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
void |
sendODMEEmail(SKDProject project,
java.util.Date startDate,
java.util.Date endDate,
int messagecode) |
getParam, getProject, sendODMEEmail, sendODMEEmail, setODMEName, setProject, setRefreshSKDData
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameters, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stop
public void init() throws MXException
SimpleCronTask
runAsUserInfo
.
Performs a silent login via SecurityService.init
in interface CronTask
init
in class SimpleCronTask
MXException
SecurityService.authenticateUser(String, boolean)
public void cronAction()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class ODMECronTask
public void sendODMEEmail(SKDProject project, java.util.Date startDate, java.util.Date endDate, int messagecode) throws java.rmi.RemoteException, MXException, javax.mail.MessagingException
java.rmi.RemoteException
MXException
javax.mail.MessagingException