@Extension @Symbol(value="secretServer") public class ServerConfiguration extends GlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_API_PATH_URI |
static String |
DEFAULT_ENVIRONMENT_VARIABLE_PREFIX |
static String |
DEFAULT_TOKEN_PATH_URI |
clazz
Constructor and Description |
---|
ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckBaseUrl(String value) |
ListBoxModel |
doFillCredentialIdItems(Item item) |
static ServerConfiguration |
get()
Calls hudson.ExtensionList#lookupSingleton(ServerConfiguration.class)
to get the singleton instance of this class which is how the Jenkins
documentation recommends that it be accessed.
|
String |
getApiPathUri() |
String |
getBaseUrl() |
String |
getCredentialId() |
String |
getEnvironmentVariablePrefix() |
String |
getTokenPathUri() |
void |
setApiPathUri(String apiPathUri) |
void |
setBaseUrl(String baseUrl) |
void |
setCredentialId(String credentialId) |
void |
setEnvironmentVariablePrefix(String environmentVariablePrefix) |
void |
setTokenPathUri(String tokenPathUri) |
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public static final String DEFAULT_API_PATH_URI
public static final String DEFAULT_TOKEN_PATH_URI
public static final String DEFAULT_ENVIRONMENT_VARIABLE_PREFIX
public static ServerConfiguration get()
public FormValidation doCheckBaseUrl(@QueryParameter String value) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item)
public String getCredentialId()
@DataBoundSetter public void setCredentialId(String credentialId)
public String getBaseUrl()
@DataBoundSetter public void setBaseUrl(String baseUrl)
public String getEnvironmentVariablePrefix()
@DataBoundSetter public void setEnvironmentVariablePrefix(String environmentVariablePrefix)
public String getApiPathUri()
@DataBoundSetter public void setApiPathUri(String apiPathUri)
public String getTokenPathUri()
@DataBoundSetter public void setTokenPathUri(String tokenPathUri)
Copyright © 2016–2021. All rights reserved.