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.ExceptionRunnableNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoRun()longstatic JenkinsCrumbsafeGetCrumb(String key, boolean isCacheEnable) static net.sf.json.JSONObjectsafeGetJobInfo(String key, boolean isCacheEnable) static JenkinsCrumbsafePutCrumb(String key, JenkinsCrumb jenkinsCrumb, boolean isCacheEnable) static net.sf.json.JSONObjectsafePutJobInfo(String key, net.sf.json.JSONObject jobInfo, boolean isCacheEnable) Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay, initMethods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, runMethods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
DropCachePeriodicWork
public DropCachePeriodicWork()
-
-
Method Details
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriodin 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:
doRunin classSafeTimerTask- Throws:
Exception
-