Class ThinBackupMgmtLink
java.lang.Object
hudson.model.ManagementLink
org.jvnet.hudson.plugins.thinbackup.ThinBackupMgmtLink
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject
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 Class Summary
Nested classes/interfaces inherited from class hudson.model.ManagementLink
ManagementLink.CategoryNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoBackupManual(org.kohsuke.stapler.StaplerRequest2 res, org.kohsuke.stapler.StaplerResponse2 rsp) voiddoRestore(org.kohsuke.stapler.StaplerRequest2 res, org.kohsuke.stapler.StaplerResponse2 rsp, String restoreBackupFrom, String restoreNextBuildNumber, String restorePlugins) Name of the category for this management link.Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
ThinBackupMgmtLink
public ThinBackupMgmtLink()
-
-
Method Details
-
getDisplayName
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getUrlName
- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
doBackupManual
@POST public void doBackupManual(org.kohsuke.stapler.StaplerRequest2 res, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException - Throws:
IOException
-
doRestore
@POST public void doRestore(org.kohsuke.stapler.StaplerRequest2 res, org.kohsuke.stapler.StaplerResponse2 rsp, @QueryParameter("restoreBackupFrom") String restoreBackupFrom, @QueryParameter("restoreNextBuildNumber") String restoreNextBuildNumber, @QueryParameter("restorePlugins") String restorePlugins) throws IOException - Throws:
IOException
-
getConfiguration
-
getAvailableBackups
-
doFillBackupItems
-
getCategory
Name of the category for this management link. Exists so that plugins with core dependency pre-dating the version when this was introduced can define a category.- Overrides:
getCategoryin classManagementLink- Returns:
- name of the desired category, one of the enum values of Category, e.g.
STATUS. - Since:
- 2.226
-