public abstract class SCMNavigatorDescriptor extends Descriptor<SCMNavigator> implements org.jenkins.ui.icon.IconSpec
SCMNavigator.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self| Modifier and Type | Field and Description |
|---|---|
protected Set<SCMSourceCategory> |
categories
The set of
SCMSourceCategory singletons for this type of SCMNavigator |
clazz| Modifier | Constructor and Description |
|---|---|
protected |
SCMNavigatorDescriptor() |
protected |
SCMNavigatorDescriptor(Class<? extends SCMNavigator> clazz) |
| Modifier and Type | Method and Description |
|---|---|
protected SCMSourceCategory[] |
createCategories()
Creates the singleton
SCMSourceCategory instances that this type of SCMNavigator is capable of
producing. |
Set<SCMSourceCategory> |
getCategories()
Returns the set of
SCMSourceCategory that this SCMNavigator supports. |
String |
getCategoryId()
Used to categorize this kind of
SCMNavigator. |
String |
getDescription()
A description of this kind of
SCMNavigator. |
String |
getIconClassName()
Get the Item's Icon class specification e.g.
|
String |
getIconFilePathPattern()
Represents a file path pattern to get the Item icon in different sizes.
|
String |
getPronoun()
Get the term used in the UI to represent this kind of
SCMNavigator. |
List<SCMTrait<? extends SCMTrait<?>>> |
getTraitsDefaults()
Returns the default traits for this
SCMSource. |
abstract SCMNavigator |
newInstance(String name)
Creates a default navigator, if there should be one displayed.
|
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMapprotected transient Set<SCMSourceCategory> categories
SCMSourceCategory singletons for this type of SCMNavigatorgetCategories()protected SCMNavigatorDescriptor()
protected SCMNavigatorDescriptor(Class<? extends SCMNavigator> clazz)
@NonNull public List<SCMTrait<? extends SCMTrait<?>>> getTraitsDefaults()
SCMSource.@NonNull public String getDescription()
SCMNavigator. This description can contain HTML code but it is recommended
to use text plain in order to avoid how it should be represented.TopLevelItemDescriptor#getDescription().
TODO: Replace to @link when the baseline is upgraded to 2.x@NonNull public String getCategoryId()
SCMNavigator.TopLevelItemDescriptor#getCategoryId()
TODO: Replace to @link when the baseline is upgraded to 2.x@CheckForNull public String getIconFilePathPattern()
:size represents the different
icon sizes used commonly in Jenkins project: 16x16, 24x24, 32x32 or 48x48TopLevelItemDescriptor#getIconFilePathPattern()
TODO: Replace to @link when the baseline is upgraded to 2.x@CheckForNull public String getIconClassName()
getIconClassName in interface org.jenkins.ui.icon.IconSpec@CheckForNull public String getPronoun()
SCMNavigator. Must start with a capital letter.null to fall back to the calling context's default.@NonNull public final Set<SCMSourceCategory> getCategories()
SCMSourceCategory that this SCMNavigator supports. There will always be
exactly one SCMCategory.isUncategorized() instance in the returned set.SCMSourceCategory that this SCMNavigator supports.createCategories()@NonNull protected SCMSourceCategory[] createCategories()
SCMSourceCategory instances that this type of SCMNavigator is capable of
producing.SCMSourceCategory instances for this type of SCMNavigatorgetCategories()@CheckForNull public abstract SCMNavigator newInstance(@CheckForNull String name)
jenkins.branch.CustomOrganizationFolderDescriptor.
If returning non-null, you should also provide a getDescription() implementationname - a name supplied by the user which may be used as a hint for preconfigurationCopyright © 2016–2019. All rights reserved.