Package com.cloudbees.simplediskusage
Class QuickDiskUsageManagementLink
- java.lang.Object
-
- hudson.model.ManagementLink
-
- com.cloudbees.simplediskusage.QuickDiskUsageManagementLink
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,ModelObject
,org.kohsuke.stapler.StaplerProxy
@Extension public class QuickDiskUsageManagementLink extends ManagementLink implements org.kohsuke.stapler.StaplerProxy
-
-
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
Constructors Constructor Description QuickDiskUsageManagementLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategoryName()
Name of the category for this management link.String
getDescription()
String
getDisplayName()
String
getIconFileName()
Permission
getRequiredPermission()
Object
getTarget()
Only sysadmin can access this page.String
getUrlName()
-
Methods inherited from class hudson.model.ManagementLink
all, getCategory, getRequiresConfirmation, getRequiresPOST
-
-
-
-
Method Detail
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
- Specified by:
getIconFileName
in classManagementLink
-
getDescription
public String getDescription()
- Overrides:
getDescription
in classManagementLink
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
- Specified by:
getUrlName
in classManagementLink
-
getRequiredPermission
public Permission getRequiredPermission()
- Overrides:
getRequiredPermission
in classManagementLink
-
getCategoryName
public String getCategoryName()
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. TODO when the core version is >2.226 change this to overridegetCategory()
instead- Overrides:
getCategoryName
in classManagementLink
- Returns:
- name of the desired category, one of the enum values of Category, e.g.
STATUS
. - Since:
- 2.226 of Jenkins core
-
getTarget
public Object getTarget()
Only sysadmin can access this page.- Specified by:
getTarget
in interfaceorg.kohsuke.stapler.StaplerProxy
-
-