public class SchedulableDate extends CurrentDate implements Schedulable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
MONTH_NAMES, SHORT_MONTH_NAMES, SHORT_WEEKDAY_NAMES, WEEKDAY_NAMESSERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SchedulableDate()
Constructs an instanceof SchedulableDate
|
| Modifier and Type | Method and Description |
|---|---|
void |
doStartService()
Setup the schedule to periodically set the time
|
void |
doStopService()
Stops the schedule for
|
Scheduler |
getScheduler()
Returns property Scheduler
|
java.lang.String |
getUpdateJobDescription()
Returns property UpdateJobDescription
|
java.lang.String |
getUpdateJobName()
Returns property UpdateJobName
|
Schedule |
getUpdateSchedule()
Returns property UpdateSchedule
|
void |
performScheduledTask(Scheduler pScheduler,
ScheduledJob pJob)
Reload the global promotions
|
void |
setScheduler(Scheduler pScheduler)
Sets property Scheduler
|
void |
setUpdateJobDescription(java.lang.String pUpdateJobDescription)
Sets property UpdateJobDescription
|
void |
setUpdateJobName(java.lang.String pUpdateJobName)
Sets property UpdateJobName
|
void |
setUpdateSchedule(Schedule pUpdateSchedule)
Sets property UpdateSchedule
|
getDate, getDateAsDate, getDayOfWeek, getDayOfWeekInMonth, getDayOfWeekName, getEpochTime, getHour, getHourAsDate, getMinute, getMinuteAsDate, getMonth, getMonthName, getNextDate, getNextHour, getNextMinute, getNextSecond, getSecond, getSecondAsDate, getShortDayOfWeekName, getShortMonthName, getTime, getTimeAsDate, getTimeAsTimestamp, getWeekOfMonth, getYear, isMinimizeDateConstruction, isTimeSet, setMinimizeDateConstruction, setTime, setTimeAsDateaddLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic SchedulableDate()
public void setScheduler(Scheduler pScheduler)
public Scheduler getScheduler()
public void setUpdateSchedule(Schedule pUpdateSchedule)
public Schedule getUpdateSchedule()
public void setUpdateJobName(java.lang.String pUpdateJobName)
public java.lang.String getUpdateJobName()
public void setUpdateJobDescription(java.lang.String pUpdateJobDescription)
public java.lang.String getUpdateJobDescription()
public void doStartService()
throws ServiceException
doStartService in class GenericServiceServiceException - if the Service had a problem starting uppublic void doStopService()
throws ServiceException
doStopService in class GenericServiceServiceException - if an error occurred during the operationpublic void performScheduledTask(Scheduler pScheduler, ScheduledJob pJob)
performScheduledTask in interface SchedulablepScheduler - calling the jobpJob - the ScheduledJob