public class SchedulerDashboardCronTask extends SimpleCronTask
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ABORTED |
static java.lang.String |
FAILED |
static java.lang.String |
PROCESSED |
static java.lang.String |
PROCESSING |
| Constructor and Description |
|---|
SchedulerDashboardCronTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculatelaborhrs(MboRemote skdProject)
Calculate Labor Hours
|
void |
calculatepmfocost(MboRemote skdProject)
Calculate PM Forecast Cost
|
void |
calculatewocost(MboRemote skdProject)
Calculate WO Cost
|
void |
calculatewocostall(MboRemote mbo)
Calculate WO Cost for both scenarios to compare
|
void |
cronAction()
This is the CORE METHOD of this class.
|
MXLogger |
getMyLogger()
Return the log specific for the Scheduler Dashboard application.
|
MboRemote |
getParameter(java.lang.String parameter)
Get the MBO of crontaskparameter for the specified parameter for the instance
this crontask object is instantiated for.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
boolean |
isInitialized() |
void |
setCrontaskInstance(CrontaskInstanceRemote inst)
Cache the crontask instance this crontask object is instantiated for.
|
void |
setInitialized(boolean initialized) |
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, init, isOKToRun, isShutdown, setCronTaskHistoryMsg, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, start, stoppublic static final java.lang.String PROCESSING
public static final java.lang.String PROCESSED
public static final java.lang.String FAILED
public static final java.lang.String ABORTED
public void cronAction()
SimpleCronTaskcronAction in interface CronTaskcronAction in class SimpleCronTaskpublic MboRemote getParameter(java.lang.String parameter) throws MXException, java.rmi.RemoteException
SimpleCronTaskgetParameter in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionpublic CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTaskgetParameters in interface CronTaskgetParameters in class SimpleCronTaskMXExceptionjava.rmi.RemoteExceptionCrontaskParamInfopublic void setCrontaskInstance(CrontaskInstanceRemote inst)
SimpleCronTasksetCrontaskInstance in interface CronTasksetCrontaskInstance in class SimpleCronTaskCronTask.setCrontaskInstance(CrontaskInstanceRemote)public MXLogger getMyLogger()
public boolean isInitialized()
public void setInitialized(boolean initialized)
public void calculatewocost(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void calculatelaborhrs(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void calculatewocostall(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void calculatepmfocost(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException