Package jenkins.scm.impl
Class SingleSCMSource.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<SCMSource>
-
- jenkins.scm.api.SCMSourceDescriptor
-
- jenkins.scm.impl.SingleSCMSource.DescriptorImpl
-
- Enclosing class:
- SingleSCMSource
@Symbol("fromScm") @Extension public static class SingleSCMSource.DescriptorImpl extends SCMSourceDescriptor
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 jenkins.scm.api.SCMSourceDescriptor
categories
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
static List<SCMDescriptor<?>>
getSCMDescriptors(SCMSourceOwner context)
Returns theSCMDescriptor
instances that are appropriate for the current context.-
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
createCategories, forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, getTraitsDefaults, isApplicable, isUserInstantiable
-
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
@NonNull public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<SCMSource>
-
getSCMDescriptors
public static List<SCMDescriptor<?>> getSCMDescriptors(@AncestorInPath SCMSourceOwner context)
Returns theSCMDescriptor
instances that are appropriate for the current context.- Parameters:
context
- the current context.- Returns:
- the
SCMDescriptor
instances
-
-