public class DebugCronTask extends SimpleCronTask
CronTaskManager,
CronTask,
psdi.test.CronErrorTest| Constructor and Description |
|---|
DebugCronTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
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.
|
void |
shutdown()
Sets the shutdown variable.
|
void |
start()
Default implementation for start().
|
void |
stop()
Default implementation for stop().
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, 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, setSleepTimepublic boolean isOKToRun(MXServerRemote server)
SimpleCronTaskisOKToRun in interface CronTaskisOKToRun in class SimpleCronTaskpsdi.server.CronTask#isOKToRun();public void init()
throws MXException
SimpleCronTaskrunAsUserInfo.
Performs a silent login via SecurityService.init in interface CronTaskinit in class SimpleCronTaskMXExceptionSecurityService.authenticateUser(String, boolean)public void cronAction()
cronAction in interface CronTaskcronAction in class SimpleCronTaskpublic void shutdown()
shutdown in interface CronTaskshutdown in class SimpleCronTaskpublic void start()
SimpleCronTaskstart in interface CronTaskstart in class SimpleCronTaskCronTask.stop(),
startup()public void stop()
stop in interface CronTaskstop in class SimpleCronTaskpublic CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTaskgetParameters in interface CronTaskgetParameters in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionCrontaskParamInfo