@Extension public class DropCachePeriodicWork extends PeriodicWork
SafeTimerTask.ExceptionRunnable
ExtensionPoint.LegacyInstancesAreScopedToHudson
DAY, HOUR, MIN
Constructor and Description |
---|
DropCachePeriodicWork() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun() |
long |
getRecurrencePeriod() |
static JenkinsCrumb |
safeGetCrumb(String key,
boolean isCacheEnable) |
static net.sf.json.JSONObject |
safeGetJobInfo(String key,
boolean isCacheEnable) |
static JenkinsCrumb |
safePutCrumb(String key,
JenkinsCrumb jenkinsCrumb,
boolean isCacheEnable) |
static net.sf.json.JSONObject |
safePutJobInfo(String key,
net.sf.json.JSONObject jobInfo,
boolean isCacheEnable) |
all, getInitialDelay, init
getLogsRoot, of, run
cancel, scheduledExecutionTime
public long getRecurrencePeriod()
getRecurrencePeriod
in class PeriodicWork
public static JenkinsCrumb safePutCrumb(String key, JenkinsCrumb jenkinsCrumb, boolean isCacheEnable)
public static JenkinsCrumb safeGetCrumb(String key, boolean isCacheEnable)
public static net.sf.json.JSONObject safePutJobInfo(String key, net.sf.json.JSONObject jobInfo, boolean isCacheEnable)
public static net.sf.json.JSONObject safeGetJobInfo(String key, boolean isCacheEnable)
protected void doRun() throws Exception
doRun
in class SafeTimerTask
Exception
Copyright © 2016–2023. All rights reserved.