Class FolderIconDescriptor

java.lang.Object
hudson.model.Descriptor<FolderIcon>
com.cloudbees.hudson.plugins.folder.FolderIconDescriptor
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
StockFolderIcon.DescriptorImpl

public abstract class FolderIconDescriptor extends Descriptor<FolderIcon>
  • Constructor Details

    • FolderIconDescriptor

      public FolderIconDescriptor()
  • Method Details

    • all

    • isApplicable

      public boolean isApplicable(Class<? extends AbstractFolder> folderType)
      Returns true if this FolderIcon 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.