public class PMForecastCronTask extends SimpleCronTask
Constructor and Description |
---|
PMForecastCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
Cron Action to generate the PM Forecast
|
CrontaskParamInfo[] |
getParameters()
Set the cron task instance parameters for PM Forecast cron task
Parameters set are whereclause,forecastfordays,emailto,logfile,orgid,siteid
|
MboRemote |
getParameterValidationMbo(CrontaskInstanceRemote instance)
Returns the validation mbo for the crontask parameter
|
void |
init()
initializes the crontask ()
|
void |
readConfig()
Read in the configuration information from cron task instance parameters.
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stop
public void init() throws MXException
init
in interface CronTask
init
in class SimpleCronTask
MXException
SecurityService.authenticateUser(String, boolean)
public void readConfig() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void cronAction()
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
public MboRemote getParameterValidationMbo(CrontaskInstanceRemote instance) throws MXException, java.rmi.RemoteException
getParameterValidationMbo
in interface CronTask
getParameterValidationMbo
in class SimpleCronTask
instance
- CrontaskInstanceRemoteMXException
java.rmi.RemoteException
CronTask.getParameterValidationMbo(CrontaskInstanceRemote)