Package jenkins.plugins.foldericon
Class CustomFolderIcon.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<com.cloudbees.hudson.plugins.folder.FolderIcon>
com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
jenkins.plugins.foldericon.CustomFolderIcon.DescriptorImpl
- Enclosing class:
- CustomFolderIcon
@Extension
public static class CustomFolderIcon.DescriptorImpl
extends com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
The Descriptor.
- Author:
- strangelookingnerd
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponse
doUploadIcon
(org.kohsuke.stapler.StaplerRequest req, Item item) Uploads an icon.Methods inherited from class com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
all, isApplicable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<com.cloudbees.hudson.plugins.folder.FolderIcon>
-
doUploadIcon
public org.kohsuke.stapler.HttpResponse doUploadIcon(org.kohsuke.stapler.StaplerRequest req, @AncestorInPath Item item) Uploads an icon.- Parameters:
req
- the request containing the fileitem
- the item to configure- Returns:
- the filename or an error message
-