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, stop
public void cronAction()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTask
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
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 boolean isOKToRun(MXServerRemote server)
SimpleCronTask
isOKToRun
in interface CronTask
isOKToRun
in class SimpleCronTask
psdi.server.CronTask#isOKToRun();
public MXLogger getCronTaskLogger()
SimpleCronTask
getCronTaskLogger
in class SimpleCronTask