Class JenkinsHeartbeatAperiodicWork
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.AperiodicWork
io.jenkins.plugins.propelo.job_reporter.extensions.JenkinsHeartbeatAperiodicWork
- 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.AperiodicWork
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
long
sendHeartbeat
(String hbRequestPayload, GenericRequestService genericRequestService, PropeloPluginImpl plugin, ProxyConfigService.ProxyConfig proxyConfig) Methods inherited from class hudson.model.AperiodicWork
all, doRun, getInitialDelay, init
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
JenkinsHeartbeatAperiodicWork
public JenkinsHeartbeatAperiodicWork()
-
-
Method Details
-
doAperiodicRun
public void doAperiodicRun()- Specified by:
doAperiodicRun
in classAperiodicWork
-
sendHeartbeat
@NotNull public HeartbeatResponse sendHeartbeat(String hbRequestPayload, GenericRequestService genericRequestService, PropeloPluginImpl plugin, ProxyConfigService.ProxyConfig proxyConfig) throws IOException - Throws:
IOException
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classAperiodicWork
-
getNewInstance
- Specified by:
getNewInstance
in classAperiodicWork
-