org.jvnet.hudson.plugins.thinbackup
Class ThinBackupPeriodicWork

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.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork
All Implemented Interfaces:
hudson.ExtensionPoint, java.lang.Runnable

@Extension
public class ThinBackupPeriodicWork
extends hudson.model.AsyncPeriodicWork


Nested Class Summary
static class ThinBackupPeriodicWork.BackupType
           
 
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
ThinBackupPeriodicWork()
           
 
Method Summary
protected  void backupNow(ThinBackupPeriodicWork.BackupType type)
           
protected  void execute(hudson.model.TaskListener arg0)
           
 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

ThinBackupPeriodicWork

public ThinBackupPeriodicWork()
Method Detail

getRecurrencePeriod

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

execute

protected void execute(hudson.model.TaskListener arg0)
                throws java.io.IOException,
                       java.lang.InterruptedException
Specified by:
execute in class hudson.model.AsyncPeriodicWork
Throws:
java.io.IOException
java.lang.InterruptedException

backupNow

protected void backupNow(ThinBackupPeriodicWork.BackupType type)


Copyright © 2011 Borland (a Microfocus Company). All Rights Reserved.