Class PeriodicBackup
- java.lang.Object
-
- java.util.TimerTask
-
- hudson.triggers.SafeTimerTask
-
- hudson.model.PeriodicWork
-
- hudson.model.AsyncPeriodicWork
-
- org.jenkinsci.plugins.periodicbackup.PeriodicBackup
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,Runnable
@Extension public class PeriodicBackup extends hudson.model.AsyncPeriodicWork
PeriodicBackup is responsible for performing backups periodically according to configured first backup time and backup frequency
-
-
Constructor Summary
Constructors Constructor Description PeriodicBackup()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute(hudson.model.TaskListener taskListener)
static PeriodicBackup
get()
long
getRecurrencePeriod()
-
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
-
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
-
-
-
Method Detail
-
execute
protected void execute(hudson.model.TaskListener taskListener)
- Specified by:
execute
in classhudson.model.AsyncPeriodicWork
-
getRecurrencePeriod
public long getRecurrencePeriod()
- Specified by:
getRecurrencePeriod
in classhudson.model.PeriodicWork
-
get
public static PeriodicBackup get()
-
-