org.jvnet.hudson.plugins.thinbackup
Class ThinBackupMgmtLink
java.lang.Object
hudson.model.ManagementLink
org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject
@Extension
public class ThinBackupMgmtLink
- extends hudson.model.ManagementLink
A backup solution for Hudson. Backs up configuration files from Hudson and its jobs.
Originally based on the Backup plugin by Vincent Sellier, Manufacture Française des Pneumatiques Michelin, Romain
Seguy, et.al. Subsequently heavily modified.
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.model.ManagementLink |
LIST |
|
Method Summary |
void |
doBackupManual(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp)
|
void |
doRestore(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
java.lang.String restoreBackupFrom)
|
void |
doSaveSettings(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
java.lang.String backupPath,
java.lang.String fullBackupSchedule,
java.lang.String diffBackupSchedule,
java.lang.String nrMaxStoredFull,
boolean cleanupDiff)
|
java.util.List<java.lang.String> |
getAvailableBackups()
|
ThinBackupPluginImpl |
getConfiguration()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getIconFileName()
|
java.lang.String |
getUrlName()
|
| Methods inherited from class hudson.model.ManagementLink |
all |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThinBackupMgmtLink
public ThinBackupMgmtLink()
getDisplayName
public java.lang.String getDisplayName()
getIconFileName
public java.lang.String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action- Specified by:
getIconFileName in class hudson.model.ManagementLink
getUrlName
public java.lang.String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action- Specified by:
getUrlName in class hudson.model.ManagementLink
getDescription
public java.lang.String getDescription()
- Overrides:
getDescription in class hudson.model.ManagementLink
doBackupManual
public void doBackupManual(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException
- Throws:
java.io.IOException
doRestore
public void doRestore(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="restoreBackupFrom")
java.lang.String restoreBackupFrom)
throws java.io.IOException
- Throws:
java.io.IOException
doSaveSettings
public void doSaveSettings(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="backupPath")
java.lang.String backupPath,
@QueryParameter(value="fullBackupSchedule")
java.lang.String fullBackupSchedule,
@QueryParameter(value="diffBackupSchedule")
java.lang.String diffBackupSchedule,
@QueryParameter(value="nrMaxStoredFull")
java.lang.String nrMaxStoredFull,
@QueryParameter(value="cleanupDiff")
boolean cleanupDiff)
throws java.io.IOException
- Throws:
java.io.IOException
getConfiguration
public ThinBackupPluginImpl getConfiguration()
getAvailableBackups
public java.util.List<java.lang.String> getAvailableBackups()
Copyright © 2004-2011 Borland (a Microfocus Company). All Rights Reserved.