Class PolarisServerConfig
- java.lang.Object
-
- com.synopsys.integration.util.Stringable
-
- com.synopsys.integration.polaris.common.configuration.PolarisServerConfig
-
- All Implemented Interfaces:
com.synopsys.integration.builder.Buildable
public class PolarisServerConfig extends com.synopsys.integration.util.Stringable implements com.synopsys.integration.builder.Buildable
-
-
Constructor Summary
Constructors Constructor Description PolarisServerConfig(com.synopsys.integration.rest.HttpUrl polarisUrl, int timeoutSeconds, java.lang.String accessToken, com.synopsys.integration.rest.proxy.ProxyInfo proxyInfo, com.google.gson.Gson gson, com.synopsys.integration.rest.support.AuthenticationSupport authenticationSupport)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTokenPolarisHttpClient
createPolarisHttpClient(com.synopsys.integration.log.IntLogger logger)
PolarisServicesFactory
createPolarisServicesFactory(com.synopsys.integration.log.IntLogger logger)
java.lang.String
getAccessToken()
com.synopsys.integration.rest.support.AuthenticationSupport
getAuthenticationSupport()
com.google.gson.Gson
getGson()
com.synopsys.integration.rest.HttpUrl
getPolarisUrl()
com.synopsys.integration.rest.proxy.ProxyInfo
getProxyInfo()
int
getTimeoutSeconds()
static PolarisServerConfigBuilder
newBuilder()
void
populateEnvironmentVariables(java.util.function.BiConsumer<java.lang.String,java.lang.String> pairsConsumer)
-
-
-
Constructor Detail
-
PolarisServerConfig
public PolarisServerConfig(com.synopsys.integration.rest.HttpUrl polarisUrl, int timeoutSeconds, java.lang.String accessToken, com.synopsys.integration.rest.proxy.ProxyInfo proxyInfo, com.google.gson.Gson gson, com.synopsys.integration.rest.support.AuthenticationSupport authenticationSupport)
-
-
Method Detail
-
newBuilder
public static PolarisServerConfigBuilder newBuilder()
-
createPolarisHttpClient
public AccessTokenPolarisHttpClient createPolarisHttpClient(com.synopsys.integration.log.IntLogger logger)
-
createPolarisServicesFactory
public PolarisServicesFactory createPolarisServicesFactory(com.synopsys.integration.log.IntLogger logger)
-
populateEnvironmentVariables
public void populateEnvironmentVariables(java.util.function.BiConsumer<java.lang.String,java.lang.String> pairsConsumer)
-
getPolarisUrl
public com.synopsys.integration.rest.HttpUrl getPolarisUrl()
-
getTimeoutSeconds
public int getTimeoutSeconds()
-
getAccessToken
public java.lang.String getAccessToken()
-
getProxyInfo
public com.synopsys.integration.rest.proxy.ProxyInfo getProxyInfo()
-
getGson
public com.google.gson.Gson getGson()
-
getAuthenticationSupport
public com.synopsys.integration.rest.support.AuthenticationSupport getAuthenticationSupport()
-
-