Class ThinBackupPeriodicWork
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.PeriodicWork
-
- hudson.model.AsyncPeriodicWork
-
- org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork
-
- All Implemented Interfaces:
ExtensionPoint
,Runnable
@Extension public class ThinBackupPeriodicWork extends AsyncPeriodicWork
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThinBackupPeriodicWork.BackupType
-
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 ThinBackupPeriodicWork()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
backupNow(ThinBackupPeriodicWork.BackupType type)
protected void
execute(TaskListener arg0)
long
getRecurrencePeriod()
-
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
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
execute
protected void execute(TaskListener arg0)
- Specified by:
execute
in classAsyncPeriodicWork
-
backupNow
protected void backupNow(ThinBackupPeriodicWork.BackupType type)
-
-