@Extension
public class FodGlobalDescriptor
extends jenkins.model.GlobalConfiguration
| Constructor and Description |
|---|
FodGlobalDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doTestApiKeyConnection(String clientId,
String clientSecret,
String baseUrl,
String apiUrl) |
hudson.util.FormValidation |
doTestPersonalAccessTokenConnection(String username,
String personalAccessToken,
String tenantId,
String baseUrl,
String apiUrl) |
String |
getApiUrl() |
boolean |
getAuthTypeIsApiKey() |
boolean |
getAuthTypeIsPersonalToken() |
String |
getBaseUrl() |
String |
getClientId() |
String |
getClientSecret() |
String |
getDisplayName() |
String |
getGlobalAuthType() |
String |
getPersonalAccessToken() |
String |
getTenantId() |
String |
getUsername() |
hudson.util.FormValidation |
testConnection(FodApiConnection testApi) |
all, getCategory, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMappublic boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic String getDisplayName()
getDisplayName in class jenkins.model.GlobalConfigurationpublic String getGlobalAuthType()
public String getClientId()
public String getClientSecret()
public String getUsername()
public String getPersonalAccessToken()
public String getTenantId()
public String getBaseUrl()
public String getApiUrl()
public boolean getAuthTypeIsApiKey()
public boolean getAuthTypeIsPersonalToken()
public hudson.util.FormValidation doTestApiKeyConnection(@QueryParameter(value="clientId")
String clientId,
@QueryParameter(value="clientSecret")
String clientSecret,
@QueryParameter(value="baseUrl")
String baseUrl,
@QueryParameter(value="apiUrl")
String apiUrl)
public hudson.util.FormValidation doTestPersonalAccessTokenConnection(@QueryParameter(value="username")
String username,
@QueryParameter(value="personalAccessToken")
String personalAccessToken,
@QueryParameter(value="tenantId")
String tenantId,
@QueryParameter(value="baseUrl")
String baseUrl,
@QueryParameter(value="apiUrl")
String apiUrl)
public hudson.util.FormValidation testConnection(FodApiConnection testApi)
Copyright © 2016–2019. All rights reserved.