Class DropCachePeriodicWork
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jenkinsci.plugins.ParameterizedRemoteTrigger.utils.DropCachePeriodicWork
- All Implemented Interfaces:
ExtensionPoint
,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, MIN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doRun()
long
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) Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay, init
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
DropCachePeriodicWork
public DropCachePeriodicWork()
-
-
Method Details
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
safePutCrumb
public static JenkinsCrumb safePutCrumb(String key, JenkinsCrumb jenkinsCrumb, boolean isCacheEnable) -
safeGetCrumb
-
safePutJobInfo
public static net.sf.json.JSONObject safePutJobInfo(String key, net.sf.json.JSONObject jobInfo, boolean isCacheEnable) -
safeGetJobInfo
-
doRun
- Specified by:
doRun
in classSafeTimerTask
- Throws:
Exception
-