@Extension public class Configuration extends GlobalConfiguration implements Serializable, ExtensionPoint
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
clazz
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
ListBoxModel |
doFillCredentialsIdItems(String apiUrl,
String credentialsId) |
FormValidation |
doValidate(String region,
String credentialsId,
String customApiUrl,
String customAuthUrl,
Job job) |
static Configuration |
get() |
String |
getApiUrl() |
String |
getAuthUrl() |
String |
getCredentialsId() |
String |
getIntegrationId() |
String |
getRegion() |
String |
getReportUrl() |
static Optional<com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials> |
resolveUserNamePassword(String credentialsId) |
void |
setApiUrl(String apiUrl) |
void |
setAuthUrl(String authUrl) |
void |
setCredentialsId(String credentialsId) |
void |
setIntegrationId(String integrationId) |
void |
setRegion(String region) |
void |
setReportUrl(String reportUrl) |
all, configure, getDescriptor, getGlobalConfigPage
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, 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
public static Configuration get()
public String getRegion()
@DataBoundSetter public void setRegion(String region)
public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
@DataBoundSetter public void setApiUrl(String apiUrl)
public String getApiUrl()
public String getAuthUrl()
@DataBoundSetter public void setAuthUrl(String authUrl)
public String getIntegrationId()
public void setIntegrationId(String integrationId)
public String getReportUrl()
public void setReportUrl(String reportUrl)
public ListBoxModel doFillCredentialsIdItems(@QueryParameter String apiUrl, @QueryParameter String credentialsId)
@POST public FormValidation doValidate(@QueryParameter(value="region") String region, @QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="apiUrl") String customApiUrl, @QueryParameter(value="authUrl") String customAuthUrl, @AncestorInPath Job job)
Copyright © 2016–2023. All rights reserved.