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
org.jenkinsci.plugins.github_branch_source.SSHCheckoutTrait.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SSHCheckoutTrait

@Symbol("gitHubSshCheckout") @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
    • getBuilderClass

      public Class<? extends jenkins.scm.api.trait.SCMBuilder> getBuilderClass()
      Overrides:
      getBuilderClass in class jenkins.scm.api.trait.SCMSourceTraitDescriptor
    • getScmClass

      public Class<? extends SCM> getScmClass()
      Overrides:
      getScmClass 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 apiUri, @QueryParameter String credentialsId)
      Form completion.
      Parameters:
      context - the context.
      apiUri - 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