public class MfMailCleanupCronTask extends SimpleCronTask
| Constructor and Description |
|---|
MfMailCleanupCronTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
MXLogger |
getCronTaskLogger()
Returns a logger to log messages related to this task.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
boolean |
isOKToRun(MXServerRemote server)
Default implementation of isOKToRun.
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stoppublic void cronAction()
SimpleCronTaskcronAction in interface CronTaskcronAction in class SimpleCronTaskpublic CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTaskgetParameters in interface CronTaskgetParameters in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionCrontaskParamInfopublic void init()
throws MXException
SimpleCronTaskrunAsUserInfo.
Performs a silent login via SecurityService.init in interface CronTaskinit in class SimpleCronTaskMXExceptionSecurityService.authenticateUser(String, boolean)public boolean isOKToRun(MXServerRemote server)
SimpleCronTaskisOKToRun in interface CronTaskisOKToRun in class SimpleCronTaskpsdi.server.CronTask#isOKToRun();public MXLogger getCronTaskLogger()
SimpleCronTaskgetCronTaskLogger in class SimpleCronTask