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

@Extension public class DropCachePeriodicWork extends PeriodicWork
  • Constructor Details

    • DropCachePeriodicWork

      public DropCachePeriodicWork()
  • Method Details

    • getRecurrencePeriod

      public long getRecurrencePeriod()
      Specified by:
      getRecurrencePeriod in class PeriodicWork
    • safePutCrumb

      public static JenkinsCrumb safePutCrumb(String key, JenkinsCrumb jenkinsCrumb, boolean isCacheEnable)
    • safeGetCrumb

      public static JenkinsCrumb safeGetCrumb(String key, boolean isCacheEnable)
    • safePutJobInfo

      public static net.sf.json.JSONObject safePutJobInfo(String key, net.sf.json.JSONObject jobInfo, boolean isCacheEnable)
    • safeGetJobInfo

      public static net.sf.json.JSONObject safeGetJobInfo(String key, boolean isCacheEnable)
    • doRun

      protected void doRun() throws Exception
      Specified by:
      doRun in class SafeTimerTask
      Throws:
      Exception