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.Category
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.ManagementLink
LIST
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doBackupManual
(org.kohsuke.stapler.StaplerRequest2 res, org.kohsuke.stapler.StaplerResponse2 rsp) void
doRestore
(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:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getDescription
- Overrides:
getDescription
in 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:
getCategory
in classManagementLink
- Returns:
- name of the desired category, one of the enum values of Category, e.g.
STATUS
. - Since:
- 2.226
-