public class CronJobsPushController extends AbstractPushController
Thread.State, Thread.UncaughtExceptionHandlerDEFAULT_DELAY, PARAM_UPDATE_INTERVAL, paramsMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CronJobsPushController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
protected CronJobService |
getCronJobService() |
protected ImportCockpitCronJobService |
getImportCockpitCronJobService() |
boolean |
isUpdateNeeded()
Returns whether an update is required or not.
|
void |
setCronJobService(CronJobService cronJobService) |
void |
setImportCptCronJobService(ImportCockpitCronJobService importCptCronJobService) |
void |
update()
Called whenever an update is needed i.e.
|
addEvent, getComponent, getDesktop, getParameters, getSession, getUpdateInterval, getWebApplicationContext, isDone, loadParameters, run, setComponent, setDone, setParameters, setUpdateInterval, startController, toStringactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldprotected CronJobService getCronJobService()
public void setCronJobService(CronJobService cronJobService)
protected ImportCockpitCronJobService getImportCockpitCronJobService()
public void setImportCptCronJobService(ImportCockpitCronJobService importCptCronJobService)
protected void after()
after in class AbstractPushControllerprotected void before()
before in class AbstractPushControllerpublic boolean isUpdateNeeded()
PushControllertrue if an update is needed, false otherwisePushController.update()public void update()
PushControllerPushController.isUpdateNeeded() has returned true.
Typically creates CockpitEvents and adds them to a special event queue by calling the
PushComponent.addEvent(CockpitEvent) method on the PushComponent returned by PushController.getComponent().Copyright © 2017 SAP SE. All Rights Reserved.