Package jenkins.scm.api
Class SCMNavigatorDescriptor
- Direct Known Subclasses:
SingleSCMNavigator.DescriptorImpl
Definition of a kind of
SCMNavigator
.- Since:
- 0.3-beta-1
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Modifier and TypeFieldDescriptionprotected Set<SCMSourceCategory>
The set ofSCMSourceCategory
singletons for this type ofSCMNavigator
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
SCMNavigatorDescriptor
(Class<? extends SCMNavigator> clazz) -
Method Summary
Modifier and TypeMethodDescriptionprotected SCMSourceCategory[]
Creates the singletonSCMSourceCategory
instances that this type ofSCMNavigator
is capable of producing.final Set<SCMSourceCategory>
Returns the set ofSCMSourceCategory
that thisSCMNavigator
supports.Deprecated.No longer used.Deprecated.No longer used.Get the Item's Icon class specification e.g.Deprecated.No longer used.Get the term used in the UI to represent this kind ofSCMNavigator
.Returns the default traits for thisSCMSource
.newInstance
(String name) Deprecated.No longer used.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
categories
The set ofSCMSourceCategory
singletons for this type ofSCMNavigator
- Since:
- 2.0
- See Also:
-
-
Constructor Details
-
SCMNavigatorDescriptor
protected SCMNavigatorDescriptor() -
SCMNavigatorDescriptor
-
-
Method Details
-
getTraitsDefaults
Returns the default traits for thisSCMSource
.- Returns:
- An empty list if not overridden.
-
getDescription
Deprecated.No longer used. -
getCategoryId
Deprecated.No longer used. -
getIconFilePathPattern
Deprecated.No longer used. -
getIconClassName
Get the Item's Icon class specification e.g. 'icon-notepad'. Note: do NOT include icon size specifications (such as 'icon-sm').- Specified by:
getIconClassName
in interfaceIconSpec
- Returns:
- The Icon class specification e.g. 'icon-notepad'.
-
getPronoun
Get the term used in the UI to represent this kind ofSCMNavigator
. Must start with a capital letter.- Returns:
- the term or
null
to fall back to the calling context's default. - Since:
- 2.0
-
getCategories
Returns the set ofSCMSourceCategory
that thisSCMNavigator
supports. There will always be exactly oneSCMCategory.isUncategorized()
instance in the returned set.- Returns:
- the set of
SCMSourceCategory
that thisSCMNavigator
supports. - Since:
- 2.0
- See Also:
-
createCategories
Creates the singletonSCMSourceCategory
instances that this type ofSCMNavigator
is capable of producing.- Returns:
- the singleton
SCMSourceCategory
instances for this type ofSCMNavigator
- Since:
- 2.0
- See Also:
-
newInstance
Deprecated.No longer used.
-