Package hudson.plugins.disk_usage
Class WorkspaceDiskUsageCalculationThread
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.AperiodicWork
-
- hudson.model.AsyncAperiodicWork
-
- hudson.plugins.disk_usage.DiskUsageCalculation
-
- hudson.plugins.disk_usage.WorkspaceDiskUsageCalculationThread
-
- All Implemented Interfaces:
ExtensionPoint
,Runnable
@Extension public class WorkspaceDiskUsageCalculationThread extends DiskUsageCalculation
- Author:
- Lucie Votypkova
-
-
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.AsyncAperiodicWork
name
-
Fields inherited from class hudson.model.AperiodicWork
logger
-
-
Constructor Summary
Constructors Constructor Description WorkspaceDiskUsageCalculationThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(TaskListener listener)
CronTab
getCronTab()
DiskUsageCalculation
getLastTask()
AperiodicWork
getNewInstance()
-
Methods inherited from class hudson.plugins.disk_usage.DiskUsageCalculation
cancel, getInitialDelay, getRecurrencePeriod, getThreadName, isCancelled, isExecuting, isExecutingMoreThenOneTimes, reschedule, scheduledLastInstanceExecutionTime
-
Methods inherited from class hudson.model.AsyncAperiodicWork
createListener, doAperiodicRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
-
Methods inherited from class hudson.model.AperiodicWork
all, doRun, init
-
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
-
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
-
-
-
Method Detail
-
execute
public void execute(TaskListener listener) throws IOException, InterruptedException
- Specified by:
execute
in classAsyncAperiodicWork
- Throws:
IOException
InterruptedException
-
getNewInstance
public AperiodicWork getNewInstance()
- Specified by:
getNewInstance
in classAperiodicWork
-
getCronTab
public CronTab getCronTab()
- Specified by:
getCronTab
in classDiskUsageCalculation
-
getLastTask
public DiskUsageCalculation getLastTask()
- Specified by:
getLastTask
in classDiskUsageCalculation
-
-