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
FieldsModifier and TypeFieldDescriptionprotected Set<SCMSourceCategory>The set ofSCMSourceCategorysingletons for this type ofSCMNavigatorFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedSCMNavigatorDescriptor(Class<? extends SCMNavigator> clazz) -
Method Summary
Modifier and TypeMethodDescriptionprotected SCMSourceCategory[]Creates the singletonSCMSourceCategoryinstances that this type ofSCMNavigatoris capable of producing.final Set<SCMSourceCategory>Returns the set ofSCMSourceCategorythat thisSCMNavigatorsupports.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 ofSCMSourceCategorysingletons 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:
getIconClassNamein 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
nullto fall back to the calling context's default. - Since:
- 2.0
-
getCategories
Returns the set ofSCMSourceCategorythat thisSCMNavigatorsupports. There will always be exactly oneSCMCategory.isUncategorized()instance in the returned set.- Returns:
- the set of
SCMSourceCategorythat thisSCMNavigatorsupports. - Since:
- 2.0
- See Also:
-
createCategories
Creates the singletonSCMSourceCategoryinstances that this type ofSCMNavigatoris capable of producing.- Returns:
- the singleton
SCMSourceCategoryinstances for this type ofSCMNavigator - Since:
- 2.0
- See Also:
-
newInstance
Deprecated.No longer used.
-