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 |
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, stop
public void init() throws MXException
init
in interface CronTask
init
in class SimpleCronTask
MXException
SecurityService.authenticateUser(String, boolean)
public java.lang.String getName()
getName
in class SimpleCronTask
public void cronAction()
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
public void cronAction(java.lang.String filter)
public java.lang.String getLogFilePath()
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTask
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
public void start()
start
in interface CronTask
start
in class SimpleCronTask
CronTask.stop()
,
startup()