org.jvnet.hudson.plugins.monitoring
Class PluginManagementLink
java.lang.Object
hudson.model.ManagementLink
org.jvnet.hudson.plugins.monitoring.PluginManagementLink
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject
@Extension
public class PluginManagementLink
- extends hudson.model.ManagementLink
ManagementLink of the plugin to add a link in the "/manage" page.
- Author:
- Emeric Vernat
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from class hudson.model.ManagementLink |
LIST |
Method Summary |
java.lang.String |
getDescription()
Returns a short description of what this link does. |
java.lang.String |
getDisplayName()
Gets the string to be displayed. |
java.lang.String |
getIconFileName()
Mostly works like Action.getIconFileName() , except
that the expected icon size is 48x48, not 24x24. |
java.lang.String |
getUrlName()
|
Methods inherited from class hudson.model.ManagementLink |
all |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginManagementLink
public PluginManagementLink()
getIconFileName
public java.lang.String getIconFileName()
- Mostly works like
Action.getIconFileName()
, except
that the expected icon size is 48x48, not 24x24. So if you give just a
file name, "/images/48x48" will be assumed.
- Specified by:
getIconFileName
in interface hudson.model.Action
- Specified by:
getIconFileName
in class hudson.model.ManagementLink
- Returns:
- As a special case, return null to exclude this object from the
management link. This is useful for defining
ManagementLink
that only shows up under certain
circumstances.
getDescription
public java.lang.String getDescription()
- Returns 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:
getDescription
in class hudson.model.ManagementLink
getDisplayName
public java.lang.String getDisplayName()
- Gets the string to be displayed.
The convention is to capitalize the first letter of each word, such as
"Test Result".
getUrlName
public java.lang.String getUrlName()
-
- Specified by:
getUrlName
in interface hudson.model.Action
- Specified by:
getUrlName
in class hudson.model.ManagementLink
Copyright © 2009-2011. All Rights Reserved.