Package com.veertu.plugin.anka
Class AnkaSlaveMonitor
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
com.veertu.plugin.anka.AnkaSlaveMonitor
- 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.AsyncPeriodicWork
name
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(TaskListener listener) static int
long
static void
static void
register
(AnkaSlaveMonitor monitor) void
static void
setMonitorRecurrenceMinutes
(int minutes) 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
-
Constructor Details
-
AnkaSlaveMonitor
public AnkaSlaveMonitor()
-
-
Method Details
-
register
-
recurrenceChanged
public static void recurrenceChanged() -
getMonitorRecurrenceMinutes
public static int getMonitorRecurrenceMinutes() -
resetRecurrence
public void resetRecurrence() -
setMonitorRecurrenceMinutes
public static void setMonitorRecurrenceMinutes(int minutes) -
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
execute
- Specified by:
execute
in classAsyncPeriodicWork
- Throws:
IOException
InterruptedException
-