Package jenkins.management
Class ReloadLink
java.lang.Object
hudson.model.ManagementLink
jenkins.management.ReloadLink
- All Implemented Interfaces:
- ExtensionPoint,- Action,- ModelObject
- Author:
- Nicolas De Loof
- 
Nested Class SummaryNested classes/interfaces inherited from class hudson.model.ManagementLinkManagementLink.CategoryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.model.ManagementLinkLIST
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCategory for management link, usesStringso it can be done with core dependency pre-dating the version this feature was added.Returns a short description of what this link does.Gets the string to be displayed.Mostly works likeAction.getIconFileName(), except that the expected icon format is SVG.Returns the permission required for user to see this management link on the "Manage Jenkins" page (ManageJenkinsAction).booleanAllows implementations to request that this link show a confirmation dialog, and use POST if confirmed.booleanDefine if the rendered link will use the default GET method or POST.Gets the URL path name.Methods inherited from class hudson.model.ManagementLinkall, getBadge, getCategoryName
- 
Constructor Details- 
ReloadLinkpublic ReloadLink()
 
- 
- 
Method Details- 
getIconFileNameDescription copied from class:ManagementLinkMostly works likeAction.getIconFileName(), except that the expected icon format is SVG. So if you give just a file name, "/images/svgs" will be assumed.- Specified by:
- getIconFileNamein interface- Action
- Specified by:
- getIconFileNamein class- ManagementLink
- Returns:
- As a special case, return null to exclude this object from the management link.
      This is useful for defining ManagementLinkthat only shows up under certain circumstances.
- See Also:
 
- 
getDisplayNameDescription copied from interface:ActionGets the string to be displayed. The convention is to capitalize the first letter of each word, such as "Test Result".- Returns:
- Can be null in case the action is hidden.
 
- 
getDescriptionDescription copied from class:ManagementLinkReturns a short description of what this link does. This text is the one that's displayed in grey. This can include HTML, although the use of block tags is highly discouraged. Optional.- Overrides:
- getDescriptionin class- ManagementLink
 
- 
getUrlNameDescription copied from class:ManagementLinkGets the URL path name.For example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz. This method should return a string that's unique among other Actions.The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems. If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp. In case of ManagementLink, this value is put straight into the href attribute, so relative paths are interpreted against the rootJenkinsobject.- Specified by:
- getUrlNamein interface- Action
- Specified by:
- getUrlNamein class- ManagementLink
- Returns:
- null if this action object doesn't need to be bound to web
      (when you do that, be sure to also return null from Action.getIconFileName().
- See Also:
 
- 
getRequiresConfirmationpublic boolean getRequiresConfirmation()Description copied from class:ManagementLinkAllows implementations to request that this link show a confirmation dialog, and use POST if confirmed. Suitable for links which perform an action rather than simply displaying a page.- Overrides:
- getRequiresConfirmationin class- ManagementLink
- Returns:
- true if this link takes an action
- See Also:
 
- 
getRequiresPOSTpublic boolean getRequiresPOST()Description copied from class:ManagementLinkDefine if the rendered link will use the default GET method or POST.- Overrides:
- getRequiresPOSTin class- ManagementLink
- Returns:
- true if POST must be used
- See Also:
 
- 
getRequiredPermissionDescription copied from class:ManagementLinkReturns the permission required for user to see this management link on the "Manage Jenkins" page (ManageJenkinsAction). Historically, this returned null, which amounted to the same behavior, asJenkins.ADMINISTERwas required to access the page.- Overrides:
- getRequiredPermissionin class- ManagementLink
- Returns:
- the permission required for the link to be shown on "Manage Jenkins".
 
- 
getCategoryDescription copied from class:ManagementLinkCategory for management link, usesStringso it can be done with core dependency pre-dating the version this feature was added.- Overrides:
- getCategoryin class- ManagementLink
- Returns:
- An enum value of ManagementLink.Category.
 
 
-