org.jvnet.hudson.plugins.thinbackup
Class ThinBackupPeriodicWork
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
org.jvnet.hudson.plugins.thinbackup.hudson.model.AsyncPeriodicWork
org.jvnet.hudson.plugins.thinbackup.ThinBackupPeriodicWork
- All Implemented Interfaces:
- hudson.ExtensionPoint, Runnable
@Extension
public class ThinBackupPeriodicWork
- extends AsyncPeriodicWork
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.PeriodicWork |
DAY, HOUR, logger, MIN |
| Methods inherited from class hudson.model.PeriodicWork |
all, getInitialDelay |
| Methods inherited from class hudson.triggers.SafeTimerTask |
run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThinBackupPeriodicWork
public ThinBackupPeriodicWork()
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.