Class SafeRestartManagementLink
java.lang.Object
hudson.model.ManagementLink
org.jenkins.ci.plugins.saferestart.SafeRestartManagementLink
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject
ManagementLink for SafeRestart. Added restart link to system administrator.
With "wait for running builds" enabled in SafeRestartConfiguration, the link leads to
the RestartDrainAction page instead of the core safe restart.
- Author:
- Seiji Sogabe, Jesse Farinacci
-
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 TypeMethodDescriptionManagementLink URLs are resolved against the Jenkins root, unlikeConstants.RESTART_URLused by the root action, so no context path and no leading slash.Methods inherited from class hudson.model.ManagementLink
all, getBadge, getCategoryName, getRequiredPermission, getRequiresConfirmation, getRequiresPOST
-
Constructor Details
-
SafeRestartManagementLink
public SafeRestartManagementLink()
-
-
Method Details
-
getDescription
- Overrides:
getDescriptionin classManagementLink
-
getDisplayName
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Specified by:
getIconFileNamein classManagementLink
-
getUrlName
ManagementLink URLs are resolved against the Jenkins root, unlikeConstants.RESTART_URLused by the root action, so no context path and no leading slash.- Specified by:
getUrlNamein interfaceAction- Specified by:
getUrlNamein classManagementLink
-
getCategory
- Overrides:
getCategoryin classManagementLink
-