Package jenkins.branch
Class OrganizationFolder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<TopLevelItem>
-
- hudson.model.TopLevelItemDescriptor
-
- com.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
- jenkins.branch.OrganizationFolder.DescriptorImpl
-
- Enclosing class:
- OrganizationFolder
@Extension @Symbol("organizationFolder") public static class OrganizationFolder.DescriptorImpl extends com.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
Our descriptor
-
-
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 DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.cloudbees.hudson.plugins.folder.ChildNameGenerator<OrganizationFolder,? extends TopLevelItem>
childNameGenerator()
String
getCategoryId()
Used to categorizeOrganizationFolder
instances.String
getDescription()
A description of thisOrganizationFolder
.String
getDisplayName()
String
getIconClassName()
List<com.cloudbees.hudson.plugins.folder.FolderIconDescriptor>
getIconDescriptors()
String
getIconFilePathPattern()
boolean
isIconConfigurable()
TopLevelItem
newInstance(ItemGroup parent, String name)
List<BranchPropertyStrategyDescriptor>
propertyStrategyDescriptors()
Gets all theBranchPropertyStrategyDescriptor
instances applicable to the specified project and source.-
Methods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
doCheckDisplayNameOrNull, getHealthMetricDescriptors, getPropertyDescriptors, isLookAndFeelConfigurable, isTabBarConfigurable
-
Methods inherited from class hudson.model.TopLevelItemDescriptor
all, checkApplicableIn, getIconFilePath, isApplicable, isApplicableIn, newInstance, newInstance, testInstance
-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
newInstance
public TopLevelItem newInstance(ItemGroup parent, String name)
- Specified by:
newInstance
in classTopLevelItemDescriptor
-
getCategoryId
@NonNull public String getCategoryId()
Used to categorizeOrganizationFolder
instances.- Overrides:
getCategoryId
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
- Returns:
- A string with the category identifier.
TopLevelItemDescriptor#getCategoryId()
-
propertyStrategyDescriptors
public List<BranchPropertyStrategyDescriptor> propertyStrategyDescriptors()
Gets all theBranchPropertyStrategyDescriptor
instances applicable to the specified project and source.- Returns:
- all the
BranchPropertyStrategyDescriptor
instances applicable to the specified project and source.
-
getDescription
@NonNull public String getDescription()
A description of thisOrganizationFolder
.- Overrides:
getDescription
in classTopLevelItemDescriptor
- Returns:
- A string with the description.
TopLevelItemDescriptor#getDescription()
.
-
getIconFilePathPattern
public String getIconFilePathPattern()
- Overrides:
getIconFilePathPattern
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
getIconClassName
public String getIconClassName()
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
getIconDescriptors
public List<com.cloudbees.hudson.plugins.folder.FolderIconDescriptor> getIconDescriptors()
- Overrides:
getIconDescriptors
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
isIconConfigurable
public boolean isIconConfigurable()
- Overrides:
isIconConfigurable
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
childNameGenerator
@NonNull public final com.cloudbees.hudson.plugins.folder.ChildNameGenerator<OrganizationFolder,? extends TopLevelItem> childNameGenerator()
- Overrides:
childNameGenerator
in classcom.cloudbees.hudson.plugins.folder.AbstractFolderDescriptor
-
-