Package jenkins.plugins.foldericon
Class CustomFolderIconConfiguration
java.lang.Object
hudson.model.Descriptor<PageDecorator>
hudson.model.PageDecorator
jenkins.plugins.foldericon.CustomFolderIconConfiguration
- All Implemented Interfaces:
ExtensionPoint
,Describable<PageDecorator>
,Saveable
,Loadable
,OnMaster
The global Custom Folder Icon configuration.
- Author:
- strangelookingnerd
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from class hudson.model.PageDecorator
ALL
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doCleanup
(org.kohsuke.stapler.StaplerRequest req) Cleanup unused icons.Get human-readable disk-usage of all icons.Methods inherited from class hudson.model.PageDecorator
all, getDescriptor, getUrl
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
PLUGIN_PATH
- See Also:
-
USER_CONTENT_PATH
- See Also:
-
-
Constructor Details
-
CustomFolderIconConfiguration
public CustomFolderIconConfiguration()
-
-
Method Details
-
getCategory
- Overrides:
getCategory
in classDescriptor<PageDecorator>
-
getRequiredGlobalConfigPagePermission
- Overrides:
getRequiredGlobalConfigPagePermission
in classDescriptor<PageDecorator>
-
getDiskUsage
Get human-readable disk-usage of all icons.- Returns:
- human-readable disk-usage
-
doCleanup
public org.kohsuke.stapler.HttpResponse doCleanup(org.kohsuke.stapler.StaplerRequest req) Cleanup unused icons.- Parameters:
req
- the request- Returns:
- OK
-