@Extension public static class GitHubAppCredentials.DescriptorImpl extends com.cloudbees.plugins.credentials.CredentialsDescriptor
com.cloudbees.plugins.credentials.CredentialsDescriptor.EnhancedCheckMethod
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and 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() |
calcAutoCompleteSettings, calcFillSettings, doFillScopeItems, findContextInPath, findContextInPath, getCheckMethod, getCredentialsPage, isApplicable, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, isScopeRelevant, lookupContext, unwrapContext
addHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public String getDisplayName()
getDisplayName
in class Descriptor<com.cloudbees.plugins.credentials.Credentials>
public String getIconClassName()
getIconClassName
in interface org.jenkins.ui.icon.IconSpec
getIconClassName
in class com.cloudbees.plugins.credentials.CredentialsDescriptor
public boolean isApiUriSelectable()
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public ListBoxModel doFillApiUriItems()
public FormValidation doCheckAppID(@QueryParameter String appID)
@POST @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public FormValidation doTestConnection(@QueryParameter(value="appID") String appID, @QueryParameter(value="privateKey") String privateKey, @QueryParameter(value="apiUri") String apiUri, @QueryParameter(value="owner") String owner)
Copyright © 2016–2020. All rights reserved.