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.ExceptionRunnableNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.AperiodicWork
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongsendHeartbeat(String hbRequestPayload, GenericRequestService genericRequestService, PropeloPluginImpl plugin, ProxyConfigService.ProxyConfig proxyConfig) Methods inherited from class hudson.model.AperiodicWork
all, doRun, getInitialDelay, initMethods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, runMethods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
JenkinsHeartbeatAperiodicWork
public JenkinsHeartbeatAperiodicWork()
-
-
Method Details
-
doAperiodicRun
public void doAperiodicRun()- Specified by:
doAperiodicRunin 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:
getRecurrencePeriodin classAperiodicWork
-
getNewInstance
- Specified by:
getNewInstancein classAperiodicWork
-