Class SumoPeriodicPublisher
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.PeriodicWork
-
- hudson.model.AsyncPeriodicWork
-
- com.sumologic.jenkins.jenkinssumologicplugin.sender.SumoPeriodicPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Runnable
@Extension public class SumoPeriodicPublisher extends AsyncPeriodicWork
Created by deven on 8/6/15.Periodically publish jenkins system metadata to sumo
Updated by Sourabh Jain 05/2019
-
-
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.AsyncPeriodicWork
name
-
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
-
-
Constructor Summary
Constructors Constructor Description SumoPeriodicPublisher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute(TaskListener listener)
long
getRecurrencePeriod()
void
sendNodeDetailsForJenkins()
void
sendRunningJobDetails()
void
sendTasksInQueue()
-
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
-
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
-
-
-
-
Method Detail
-
execute
protected void execute(TaskListener listener)
- Specified by:
execute
in classAsyncPeriodicWork
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
sendTasksInQueue
public void sendTasksInQueue()
-
sendNodeDetailsForJenkins
public void sendNodeDetailsForJenkins()
-
sendRunningJobDetails
public void sendRunningJobDetails()
-
-