@Extension public static class CustomFolderIcon.DescriptorImpl extends com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doCleanup(org.kohsuke.stapler.StaplerRequest req)
Cleanup unused icons.
|
org.kohsuke.stapler.HttpResponse |
doUploadIcon(org.kohsuke.stapler.StaplerRequest req)
Uploads an icon.
|
String |
getDisplayName() |
boolean |
isApplicable(Class<? extends com.cloudbees.hudson.plugins.folder.AbstractFolder> folderType) |
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap@Nonnull public String getDisplayName()
getDisplayName in class Descriptor<com.cloudbees.hudson.plugins.folder.FolderIcon>public boolean isApplicable(Class<? extends com.cloudbees.hudson.plugins.folder.AbstractFolder> folderType)
isApplicable in class com.cloudbees.hudson.plugins.folder.FolderIconDescriptorpublic org.kohsuke.stapler.HttpResponse doUploadIcon(org.kohsuke.stapler.StaplerRequest req)
req - the request containing the filepublic org.kohsuke.stapler.HttpResponse doCleanup(org.kohsuke.stapler.StaplerRequest req)
throws InterruptedException,
IOException
req - the requestInterruptedException - if there is a file handling errorIOException - if there is a file handling errorCopyright © 2016–2021. All rights reserved.