Class GitLabSCMSource.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
io.jenkins.plugins.gitlabbranchsource.GitLabSCMSource.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
GitLabSCMSource

@Symbol("gitlab") @Extension public static class GitLabSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor implements IconSpec
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
      Overrides:
      getIconClassName in class jenkins.scm.api.SCMSourceDescriptor
    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.SCMSource>
    • getPronoun

      public String getPronoun()
      Overrides:
      getPronoun in class jenkins.scm.api.SCMSourceDescriptor
    • getSelectedServer

      public String getSelectedServer(@QueryParameter String serverName)
    • 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

      public long getProjectId(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String projectPath, @QueryParameter String serverName)
    • 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

      @NonNull public List<jenkins.scm.api.trait.SCMSourceTrait> getTraitsDefaults()
      Overrides:
      getTraitsDefaults in class jenkins.scm.api.SCMSourceDescriptor
    • createCategories

      @NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()
      Overrides:
      createCategories in class jenkins.scm.api.SCMSourceDescriptor