@Extension public class Configuration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckCredentialsId(String value) |
FormValidation |
doCheckServerUrl(String value) |
ListBoxModel |
doFillCredentialsIdItems(ItemGroup context,
String serverUrl,
String credentialId) |
ListBoxModel |
doFillProxyCredentialsIdItems(ItemGroup context,
String serverUrl,
String credentialId) |
FormValidation |
doTestConnection(String serverUrl,
String credentialsId,
String proxy,
String proxyCredentialsId) |
static Configuration |
get() |
String |
getCredentialsId() |
String |
getProxy() |
String |
getProxyCredentialsId() |
String |
getSender() |
String |
getServerUrl() |
void |
setCredentialsId(String credentialsId) |
void |
setProxy(String proxy) |
void |
setProxyCredentialsId(String proxyCredentialsId) |
void |
setSender(String sender) |
void |
setServerUrl(String serverUrl) |
all, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, 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, toMappublic static Configuration get()
@CheckForNull public String getServerUrl()
@DataBoundSetter public void setServerUrl(String serverUrl)
public String getSender()
@DataBoundSetter public void setSender(String sender)
@CheckForNull public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
public String getProxy()
@DataBoundSetter public void setProxy(String proxy)
public String getProxyCredentialsId()
@DataBoundSetter public void setProxyCredentialsId(String proxyCredentialsId)
public FormValidation doCheckCredentialsId(@QueryParameter String value)
public FormValidation doCheckServerUrl(@QueryParameter String value)
public FormValidation doTestConnection(@QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String proxy, @QueryParameter String proxyCredentialsId) throws Exception
Exceptionpublic ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String serverUrl, String credentialId)
public ListBoxModel doFillProxyCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String serverUrl, String credentialId)
Copyright © 2016–2022. All rights reserved.