Class GitLabSCMSource.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.DescriptorImpl
- Enclosing class:
- GitLabSCMSource
@Symbol("gitlab")
@Extension
public static class GitLabSCMSource.DescriptorImpl
extends jenkins.scm.api.SCMSourceDescriptor
implements IconSpec
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected jenkins.scm.api.SCMHeadCategory[]
doFillCredentialsIdItems
(jenkins.scm.api.SCMSourceOwner context, String serverName, String credentialsId) doFillProjectPathItems
(jenkins.scm.api.SCMSourceOwner context, String serverName, String projectOwner) doFillServerNameItems
(jenkins.scm.api.SCMSourceOwner context, String serverName) long
getProjectId
(jenkins.scm.api.SCMSourceOwner context, String projectPath, String serverName) getSelectedServer
(String serverName) List<jenkins.scm.api.trait.SCMSourceTrait>
List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMTraitDescriptor<?>>>
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
forOwner, forOwner, forOwner, forOwner, getCategories, getId, 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classjenkins.scm.api.SCMSourceDescriptor
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.SCMSource>
-
getPronoun
- Overrides:
getPronoun
in classjenkins.scm.api.SCMSourceDescriptor
-
getSelectedServer
-
doFillServerNameItems
public ListBoxModel doFillServerNameItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverName) -
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverName, @QueryParameter String credentialsId) -
getProjectId
-
doFillProjectPathItems
public ListBoxModel doFillProjectPathItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverName, @QueryParameter String projectOwner) -
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMTraitDescriptor<?>>> getTraitsDescriptorLists() -
getTraitsDefaults
- Overrides:
getTraitsDefaults
in classjenkins.scm.api.SCMSourceDescriptor
-
createCategories
@NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()- Overrides:
createCategories
in classjenkins.scm.api.SCMSourceDescriptor
-