Class GitHubAppCredentials.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<com.cloudbees.plugins.credentials.Credentials>
com.cloudbees.plugins.credentials.CredentialsDescriptor
org.jenkinsci.plugins.github_branch_source.GitHubAppCredentials.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster, IconSpec
Enclosing class:
GitHubAppCredentials

@Extension public static class GitHubAppCredentials.DescriptorImpl extends com.cloudbees.plugins.credentials.CredentialsDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
    • getIconClassName

      public String getIconClassName()
      Specified by:
      getIconClassName in interface IconSpec
      Overrides:
      getIconClassName in class com.cloudbees.plugins.credentials.CredentialsDescriptor
    • isApiUriSelectable

      public boolean isApiUriSelectable()
    • doFillApiUriItems

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillApiUriItems()
      Returns the available GitHub endpoint items.
      Returns:
      the available GitHub endpoint items.
    • doCheckAppID

      public FormValidation doCheckAppID(@QueryParameter String appID)
    • doTestConnection

      @POST @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doTestConnection(@QueryParameter("appID") String appID, @QueryParameter("privateKey") String privateKey, @QueryParameter("apiUri") String apiUri, @QueryParameter("owner") String owner)