Class SSHCheckoutTrait.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
jenkins.scm.api.trait.SCMSourceTraitDescriptor
com.cloudbees.jenkins.plugins.bitbucket.SSHCheckoutTrait.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SSHCheckoutTrait

@Symbol("bitbucketSshCheckout") @Extension public static class SSHCheckoutTrait.DescriptorImpl extends jenkins.scm.api.trait.SCMSourceTraitDescriptor
Our descriptor.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<jenkins.scm.api.trait.SCMSourceTrait>
    • getContextClass

      public Class<? extends jenkins.scm.api.trait.SCMSourceContext> getContextClass()
      Overrides:
      getContextClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • getSourceClass

      public Class<? extends jenkins.scm.api.SCMSource> getSourceClass()
      Overrides:
      getSourceClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • isApplicableToBuilder

      public boolean isApplicableToBuilder(@NonNull Class<? extends jenkins.scm.api.trait.SCMBuilder> builderClass)
      Overrides:
      isApplicableToBuilder in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • isApplicableToSCM

      public boolean isApplicableToSCM(@NonNull SCMDescriptor<?> scm)
      Overrides:
      isApplicableToSCM in class jenkins.scm.api.trait.SCMTraitDescriptor<jenkins.scm.api.trait.SCMSourceTrait>
    • doFillCredentialsIdItems

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillCredentialsIdItems(@CheckForNull @AncestorInPath Item context, @QueryParameter String serverUrl, @QueryParameter String credentialsId)
      Form completion.
      Parameters:
      context - the context.
      serverUrl - the server url.
      credentialsId - the current selection.
      Returns:
      the form items.
    • doCheckCredentialsId

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath Item context, @QueryParameter String serverUrl, @QueryParameter String value)
      Validation for checkout credentials.
      Parameters:
      context - the context.
      serverUrl - the server url.
      value - the current selection.
      Returns:
      the validation results