Class BitbucketSCMSource.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
BitbucketSCMSource

@Symbol("bitbucket") @Extension public static class BitbucketSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor
  • Field Details

  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

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

      public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value, @QueryParameter String serverUrl)
    • doCheckServerUrl

      public static FormValidation doCheckServerUrl(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value)
    • doCheckMirrorId

      public static FormValidation doCheckMirrorId(@QueryParameter String value, @QueryParameter String serverUrl)
    • isServerUrlSelectable

      public boolean isServerUrlSelectable()
    • doFillServerUrlItems

      public ListBoxModel doFillServerUrlItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context)
    • doFillCredentialsIdItems

      public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl)
    • doFillRepositoryItems

      public ListBoxModel doFillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner) throws IOException, InterruptedException
      Throws:
      IOException
      InterruptedException
    • doFillMirrorIdItems

      public ListBoxModel doFillMirrorIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner, @QueryParameter String repository) throws FormFillFailure
      Throws:
      FormFillFailure
    • createCategories

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

      public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists()
    • getTraitsDefaults

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