org.jenkinsci.plugins.periodicbackup
Class PeriodicBackup

java.lang.Object
  extended by java.util.TimerTask
      extended by hudson.triggers.SafeTimerTask
          extended by hudson.model.PeriodicWork
              extended by hudson.model.AsyncPeriodicWork
                  extended by org.jenkinsci.plugins.periodicbackup.PeriodicBackup
All Implemented Interfaces:
hudson.ExtensionPoint, java.lang.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


Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.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
PeriodicBackup()
           
 
Method Summary
protected  void execute(hudson.model.TaskListener taskListener)
           
static PeriodicBackup get()
           
 long getRecurrencePeriod()
           
 
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getLogFile
 
Methods inherited from class hudson.model.PeriodicWork
all, getInitialDelay
 
Methods inherited from class hudson.triggers.SafeTimerTask
run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeriodicBackup

public PeriodicBackup()
Method Detail

execute

protected void execute(hudson.model.TaskListener taskListener)
Specified by:
execute in class hudson.model.AsyncPeriodicWork

getRecurrencePeriod

public long getRecurrencePeriod()
Specified by:
getRecurrencePeriod in class hudson.model.PeriodicWork

get

public static PeriodicBackup get()


Copyright © 2004-2013. All Rights Reserved.