Class ResourceUpdater
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
com.redhat.jenkins.plugins.cachet.ResourceUpdater
- 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, logger, MIN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doRun()
long
getResources
(SourceTemplate sourceTemplate) 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
-
ResourceUpdater
public ResourceUpdater()
-
-
Method Details
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
doRun
protected void doRun()- Specified by:
doRun
in classSafeTimerTask
-
getResources
public static Map<String,com.fasterxml.jackson.databind.JsonNode> getResources(SourceTemplate sourceTemplate)
-