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,
String restoreBackupFrom,
String restoreNextBuildNumber,
String restorePlugins)
|
void |
doSaveSettings(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
String backupPath,
String fullBackupSchedule,
String diffBackupSchedule,
String nrMaxStoredFull,
String excludedFilesRegex,
boolean moveOldBackupsToZipFile,
boolean cleanupDiff,
boolean backupBuildResults,
boolean backupBuildArchive,
boolean backupBuildsToKeepOnly,
boolean backupUserContents,
boolean backupNextBuildNumber,
boolean waitForIdle,
String forceQuietModeTimeout)
|
List<String> |
getAvailableBackups()
|
ThinBackupPluginImpl |
getConfiguration()
|
String |
getDescription()
|
String |
getDisplayName()
|
String |
getIconFileName()
|
String |
getUrlName()
|
| Methods inherited from class hudson.model.ManagementLink |
all, getRequiredPermission |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThinBackupMgmtLink
public ThinBackupMgmtLink()
getDisplayName
public String getDisplayName()
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName in interface hudson.model.Action- Specified by:
getIconFileName in class hudson.model.ManagementLink
getUrlName
public String getUrlName()
- Specified by:
getUrlName in interface hudson.model.Action- Specified by:
getUrlName in class hudson.model.ManagementLink
getDescription
public String getDescription()
- Overrides:
getDescription in class hudson.model.ManagementLink
doBackupManual
public void doBackupManual(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
- Throws:
IOException
doRestore
public void doRestore(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="restoreBackupFrom")
String restoreBackupFrom,
@QueryParameter(value="restoreNextBuildNumber")
String restoreNextBuildNumber,
@QueryParameter(value="restorePlugins")
String restorePlugins)
throws IOException
- Throws:
IOException
doSaveSettings
public void doSaveSettings(org.kohsuke.stapler.StaplerRequest res,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter(value="backupPath")
String backupPath,
@QueryParameter(value="fullBackupSchedule")
String fullBackupSchedule,
@QueryParameter(value="diffBackupSchedule")
String diffBackupSchedule,
@QueryParameter(value="nrMaxStoredFull")
String nrMaxStoredFull,
@QueryParameter(value="excludedFilesRegex")
String excludedFilesRegex,
@QueryParameter(value="moveOldBackupsToZipFile")
boolean moveOldBackupsToZipFile,
@QueryParameter(value="cleanupDiff")
boolean cleanupDiff,
@QueryParameter(value="backupBuildResults")
boolean backupBuildResults,
@QueryParameter(value="backupBuildArchive")
boolean backupBuildArchive,
@QueryParameter(value="backupBuildsToKeepOnly")
boolean backupBuildsToKeepOnly,
@QueryParameter(value="backupUserContents")
boolean backupUserContents,
@QueryParameter(value="backupNextBuildNumber")
boolean backupNextBuildNumber,
@QueryParameter(value="waitForIdle")
boolean waitForIdle,
@QueryParameter(value="forceQuietModeTimeout")
String forceQuietModeTimeout)
throws IOException
- Throws:
IOException
getConfiguration
public ThinBackupPluginImpl getConfiguration()
getAvailableBackups
public List<String> getAvailableBackups()
Copyright © 2004-2013. All Rights Reserved.