public class PMWoGenCronTask extends SimpleCronTask
| Constructor and Description |
|---|
PMWoGenCronTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
cronAction()
method that does the workorder generation task
|
void |
cronAction(java.lang.String filter)
method that does the workorder generation task
|
java.lang.String |
getLogFilePath()
Returns the complete path of the logfile for PM Work order Generation Crontask
|
java.lang.String |
getName()
returns the name of this CronTask.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
void |
init()
init()
|
void |
readConfig()
Read in the configuration information from cron task instance parameters.
|
void |
start()
Extended Default implementation for start() from SimpleCrontask
Implement logfile change, to prevent the need to restart server.
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, stoppublic void init()
throws MXException
init in interface CronTaskinit in class SimpleCronTaskMXExceptionSecurityService.authenticateUser(String, boolean)public void readConfig()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic java.lang.String getName()
getName in class SimpleCronTaskpublic void cronAction()
cronAction in interface CronTaskcronAction in class SimpleCronTaskpublic void cronAction(java.lang.String filter)
public java.lang.String getLogFilePath()
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTaskgetParameters in interface CronTaskgetParameters in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionCrontaskParamInfopublic void start()
start in interface CronTaskstart in class SimpleCronTaskCronTask.stop(),
startup()