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, stop
public 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()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
public MboRemote getParameter(java.lang.String parameter) throws MXException, java.rmi.RemoteException
SimpleCronTask
getParameter
in class SimpleCronTask
MXException
java.rmi.RemoteException
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTask
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
public void setCrontaskInstance(CrontaskInstanceRemote inst)
SimpleCronTask
setCrontaskInstance
in interface CronTask
setCrontaskInstance
in class SimpleCronTask
CronTask.setCrontaskInstance(CrontaskInstanceRemote)
public MXLogger getMyLogger()
public boolean isInitialized()
public void setInitialized(boolean initialized)
public void calculatewocost(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void calculatelaborhrs(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void calculatewocostall(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void calculatepmfocost(MboRemote skdProject) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException