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.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.PageDecorator
ALLFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoCleanup(org.kohsuke.stapler.StaplerRequest2 req) Clean up unused icons.Get human-readable disk-usage of all icons.Methods inherited from class hudson.model.PageDecorator
all, getDescriptor, getUrlMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, 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:
getCategoryin classDescriptor<PageDecorator>
-
getRequiredGlobalConfigPagePermission
- Overrides:
getRequiredGlobalConfigPagePermissionin 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.StaplerRequest2 req) Clean up unused icons.- Parameters:
req- the request- Returns:
- OK
-