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
- Enclosing class:
- GitHubAppCredentials
@Extension
public static class GitHubAppCredentials.DescriptorImpl
extends com.cloudbees.plugins.credentials.CredentialsDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
com.cloudbees.plugins.credentials.CredentialsDescriptor.EnhancedCheckMethod
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoCheckAppID
(String appID) Returns the available GitHub endpoint items.doTestConnection
(String appID, String privateKey, String apiUri, String owner) boolean
Methods inherited from class com.cloudbees.plugins.credentials.CredentialsDescriptor
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContext
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
getIconClassName
- Specified by:
getIconClassName
in interfaceIconSpec
- Overrides:
getIconClassName
in classcom.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
-
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)
-