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

@Extension @Symbol("secretServer") public class ServerConfiguration extends GlobalConfiguration
  • Field Details

  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration()
  • Method Details

    • get

      public 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.
      Returns:
      the singleton instance of this class
    • isUseProxy

      public boolean isUseProxy()
    • setUseProxy

      @DataBoundSetter public void setUseProxy(boolean useProxy)
    • getProxyHost

      public String getProxyHost()
    • setProxyHost

      @DataBoundSetter public void setProxyHost(String proxyHost)
    • getProxyPort

      public int getProxyPort()
    • setProxyPort

      @DataBoundSetter public void setProxyPort(int proxyPort)
    • getProxyUsername

      public String getProxyUsername()
    • setProxyUsername

      @DataBoundSetter public void setProxyUsername(String proxyUsername)
    • getProxyPassword

      public Secret getProxyPassword()
    • setProxyPassword

      @DataBoundSetter public void setProxyPassword(Secret proxyPassword)
    • getNoProxyHosts

      public String getNoProxyHosts()
    • setNoProxyHosts

      @DataBoundSetter public void setNoProxyHosts(String noProxyHosts)
    • doCheckBaseUrl

      @POST public FormValidation doCheckBaseUrl(@QueryParameter String value) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • doFillCredentialIdItems

      @POST public ListBoxModel doFillCredentialIdItems(@AncestorInPath Item item)
    • getCredentialId

      public String getCredentialId()
    • setCredentialId

      @DataBoundSetter public void setCredentialId(String credentialId)
    • getBaseUrl

      public String getBaseUrl()
    • setBaseUrl

      @DataBoundSetter public void setBaseUrl(String baseUrl)
    • getEnvironmentVariablePrefix

      public String getEnvironmentVariablePrefix()
    • setEnvironmentVariablePrefix

      @DataBoundSetter public void setEnvironmentVariablePrefix(String environmentVariablePrefix)
    • getApiVersion

      public String getApiVersion()
    • setApiVersion

      @DataBoundSetter public void setApiVersion(String apiVersion)