Class FolderIconDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<FolderIcon>
-
- com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
-
- Direct Known Subclasses:
StockFolderIcon.DescriptorImpl
public abstract class FolderIconDescriptor extends Descriptor<FolderIcon>
-
-
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 Constructor Description FolderIconDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<FolderIcon,FolderIconDescriptor>
all()
boolean
isApplicable(Class<? extends AbstractFolder> folderType)
Returns true if thisFolderIcon
type is applicable to the given job type.-
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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
all
public static DescriptorExtensionList<FolderIcon,FolderIconDescriptor> all()
-
isApplicable
public boolean isApplicable(Class<? extends AbstractFolder> folderType)
Returns true if thisFolderIcon
type is applicable to the given job type.- Parameters:
folderType
- the type of folder.- Returns:
- true to indicate applicable, in which case the icon will be displayed in the configuration screen of this folder.
-
-