public class RollProjectCronTask extends ODMECronTask
Constructor and Description |
---|
RollProjectCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
This is the CORE METHOD of this class.
|
void |
init()
Invoked by the CronTaskManager when the class is instantiated.
|
int |
rollProject(SKDProject skdProject) |
void |
sendODMEEmail(SKDProject project,
java.util.Date startDate,
java.util.Date endDate,
boolean success) |
getParam, getProject, sendODMEEmail, setODMEName, setProject, setRefreshSKDData
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameters, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, isOKToRun, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stop
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 void cronAction()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class ODMECronTask
public int rollProject(SKDProject skdProject) throws java.lang.Exception
java.lang.Exception
public void sendODMEEmail(SKDProject project, java.util.Date startDate, java.util.Date endDate, boolean success) throws java.rmi.RemoteException, MXException, javax.mail.MessagingException
sendODMEEmail
in class ODMECronTask
java.rmi.RemoteException
MXException
javax.mail.MessagingException