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 org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork
                  extended by org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork
All Implemented Interfaces:
hudson.ExtensionPoint, Runnable

@Extension
public class ThinBackupPeriodicWork
extends 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 org.jvnet.hudson.plugins.thinbackup.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)
          Executes the task.
 long getRecurrencePeriod()
           
 
Methods inherited from class org.jvnet.hudson.plugins.thinbackup.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)
Description copied from class: AsyncPeriodicWork
Executes the task. Subclasses implement this method and can carry out a long-running task.

Specified by:
execute in class AsyncPeriodicWork
Parameters:
arg0 - Output sent will be reported to the users. (this work is TBD.)

backupNow

protected void backupNow(ThinBackupPeriodicWork.BackupType type)


Copyright © 2004-2013. All Rights Reserved.