Class ServerConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
com.delinea.secrets.jenkins.wrapper.cred.ServerConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
FieldsFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckBaseUrl(String value) doFillCredentialIdItems(Item item) static ServerConfigurationget()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.intbooleanvoidsetApiVersion(String apiVersion) voidsetBaseUrl(String baseUrl) voidsetCredentialId(String credentialId) voidsetEnvironmentVariablePrefix(String environmentVariablePrefix) voidsetNoProxyHosts(String noProxyHosts) voidsetProxyHost(String proxyHost) voidsetProxyPassword(Secret proxyPassword) voidsetProxyPort(int proxyPort) voidsetProxyUsername(String proxyUsername) voidsetUseProxy(boolean useProxy) Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
DEFAULT_ENVIRONMENT_VARIABLE_PREFIX
- See Also:
-
API_VERSION
- See Also:
-
-
Constructor Details
-
ServerConfiguration
public ServerConfiguration()
-
-
Method Details
-
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.- Returns:
- the singleton instance of this class
-
isUseProxy
public boolean isUseProxy() -
setUseProxy
@DataBoundSetter public void setUseProxy(boolean useProxy) -
getProxyHost
-
setProxyHost
-
getProxyPort
public int getProxyPort() -
setProxyPort
@DataBoundSetter public void setProxyPort(int proxyPort) -
getProxyUsername
-
setProxyUsername
-
getProxyPassword
-
setProxyPassword
-
getNoProxyHosts
-
setNoProxyHosts
-
doCheckBaseUrl
@POST public FormValidation doCheckBaseUrl(@QueryParameter String value) throws IOException, javax.servlet.ServletException - Throws:
IOExceptionjavax.servlet.ServletException
-
doFillCredentialIdItems
-
getCredentialId
-
setCredentialId
-
getBaseUrl
-
setBaseUrl
-
getEnvironmentVariablePrefix
-
setEnvironmentVariablePrefix
-
getApiVersion
-
setApiVersion
-