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
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckAppID(String appID)
ListBoxModel
doFillApiUriItems()
Returns the available GitHub endpoint items.FormValidation
doTestConnection(String appID, String privateKey, String apiUri, String owner)
String
getDisplayName()
String
getIconClassName()
boolean
isApiUriSelectable()
-
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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<com.cloudbees.plugins.credentials.Credentials>
-
getIconClassName
public String 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
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)
-
-