Class PolarisServerConfigBuilder
- java.lang.Object
-
- com.synopsys.integration.builder.IntegrationBuilder<PolarisServerConfig>
-
- com.synopsys.integration.polaris.common.configuration.PolarisServerConfigBuilder
-
public class PolarisServerConfigBuilder extends com.synopsys.integration.builder.IntegrationBuilder<PolarisServerConfig>
-
-
Field Summary
Fields Modifier and Type Field Description static com.synopsys.integration.builder.BuilderPropertyKey
ACCESS_TOKEN_FILE_PATH_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
ACCESS_TOKEN_KEY
static int
DEFAULT_TIMEOUT_SECONDS
static java.lang.String
POLARIS_ACCESS_TOKEN_FILENAME_DEFAULT
static java.lang.String
POLARIS_CONFIG_DIRECTORY_DEFAULT
static com.synopsys.integration.builder.BuilderPropertyKey
POLARIS_HOME_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_HOST_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_NTLM_DOMAIN_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_NTLM_WORKSTATION_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_PASSWORD_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_PORT_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
PROXY_USERNAME_KEY
static java.lang.String
SWIP_CONFIG_DIRECTORY_DEFAULT
static com.synopsys.integration.builder.BuilderPropertyKey
TIMEOUT_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
URL_KEY
static com.synopsys.integration.builder.BuilderPropertyKey
USER_HOME_KEY
-
Constructor Summary
Constructors Constructor Description PolarisServerConfigBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PolarisServerConfig
buildWithoutValidation()
java.lang.String
get(com.synopsys.integration.builder.BuilderPropertyKey key)
java.lang.String
getAccessToken()
java.lang.String
getAccessTokenFilePath()
com.synopsys.integration.rest.support.AuthenticationSupport
getAuthenticationSupport()
java.util.Set<java.lang.String>
getEnvironmentVariableKeys()
com.google.gson.Gson
getGson()
java.util.Set<com.synopsys.integration.builder.BuilderPropertyKey>
getKeys()
com.synopsys.integration.log.IntLogger
getLogger()
java.lang.String
getPolarisHome()
java.util.Map<com.synopsys.integration.builder.BuilderPropertyKey,java.lang.String>
getProperties()
java.util.Set<java.lang.String>
getPropertyKeys()
java.lang.String
getProxyHost()
java.lang.String
getProxyNtlmDomain()
java.lang.String
getProxyNtlmWorkstation()
java.lang.String
getProxyPassword()
int
getProxyPort()
java.lang.String
getProxyUsername()
int
getTimeoutInSeconds()
java.lang.String
getUrl()
java.lang.String
getUserHome()
void
set(com.synopsys.integration.builder.BuilderPropertyKey key, java.lang.String value)
PolarisServerConfigBuilder
setAccessToken(java.lang.String accessToken)
PolarisServerConfigBuilder
setAccessTokenFilePath(java.lang.String accessTokenFilePath)
PolarisServerConfigBuilder
setAuthenticationSupport(com.synopsys.integration.rest.support.AuthenticationSupport authenticationSupport)
PolarisServerConfigBuilder
setGson(com.google.gson.Gson gson)
PolarisServerConfigBuilder
setLogger(com.synopsys.integration.log.IntLogger logger)
PolarisServerConfigBuilder
setPolarisHome(java.lang.String polarisHome)
void
setProperties(java.util.Set<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> propertyEntries)
void
setProperty(java.lang.String key, java.lang.String value)
PolarisServerConfigBuilder
setProxyHost(java.lang.String proxyHost)
PolarisServerConfigBuilder
setProxyNtlmDomain(java.lang.String proxyNtlmDomain)
PolarisServerConfigBuilder
setProxyNtlmWorkstation(java.lang.String proxyNtlmWorkstation)
PolarisServerConfigBuilder
setProxyPassword(java.lang.String proxyPassword)
PolarisServerConfigBuilder
setProxyPort(int proxyPort)
PolarisServerConfigBuilder
setProxyPort(java.lang.String proxyPort)
PolarisServerConfigBuilder
setProxyUsername(java.lang.String proxyUsername)
PolarisServerConfigBuilder
setTimeoutInSeconds(int timeout)
PolarisServerConfigBuilder
setTimeoutInSeconds(java.lang.String timeout)
PolarisServerConfigBuilder
setUrl(java.lang.String url)
PolarisServerConfigBuilder
setUserHome(java.lang.String userHome)
protected void
validate(com.synopsys.integration.builder.BuilderStatus builderStatus)
-
-
-
Field Detail
-
SWIP_CONFIG_DIRECTORY_DEFAULT
public static final java.lang.String SWIP_CONFIG_DIRECTORY_DEFAULT
- See Also:
- Constant Field Values
-
POLARIS_CONFIG_DIRECTORY_DEFAULT
public static final java.lang.String POLARIS_CONFIG_DIRECTORY_DEFAULT
- See Also:
- Constant Field Values
-
POLARIS_ACCESS_TOKEN_FILENAME_DEFAULT
public static final java.lang.String POLARIS_ACCESS_TOKEN_FILENAME_DEFAULT
- See Also:
- Constant Field Values
-
URL_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey URL_KEY
-
ACCESS_TOKEN_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey ACCESS_TOKEN_KEY
-
TIMEOUT_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey TIMEOUT_KEY
-
POLARIS_HOME_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey POLARIS_HOME_KEY
-
ACCESS_TOKEN_FILE_PATH_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey ACCESS_TOKEN_FILE_PATH_KEY
-
USER_HOME_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey USER_HOME_KEY
-
PROXY_HOST_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_HOST_KEY
-
PROXY_PORT_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_PORT_KEY
-
PROXY_USERNAME_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_USERNAME_KEY
-
PROXY_PASSWORD_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_PASSWORD_KEY
-
PROXY_NTLM_DOMAIN_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_NTLM_DOMAIN_KEY
-
PROXY_NTLM_WORKSTATION_KEY
public static final com.synopsys.integration.builder.BuilderPropertyKey PROXY_NTLM_WORKSTATION_KEY
-
DEFAULT_TIMEOUT_SECONDS
public static final int DEFAULT_TIMEOUT_SECONDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildWithoutValidation
protected PolarisServerConfig buildWithoutValidation()
- Specified by:
buildWithoutValidation
in classcom.synopsys.integration.builder.IntegrationBuilder<PolarisServerConfig>
-
validate
protected void validate(com.synopsys.integration.builder.BuilderStatus builderStatus)
- Specified by:
validate
in classcom.synopsys.integration.builder.IntegrationBuilder<PolarisServerConfig>
-
get
public java.lang.String get(com.synopsys.integration.builder.BuilderPropertyKey key)
-
set
public void set(com.synopsys.integration.builder.BuilderPropertyKey key, java.lang.String value)
-
setProperty
public void setProperty(java.lang.String key, java.lang.String value)
-
getKeys
public java.util.Set<com.synopsys.integration.builder.BuilderPropertyKey> getKeys()
-
getPropertyKeys
public java.util.Set<java.lang.String> getPropertyKeys()
-
getEnvironmentVariableKeys
public java.util.Set<java.lang.String> getEnvironmentVariableKeys()
-
getProperties
public java.util.Map<com.synopsys.integration.builder.BuilderPropertyKey,java.lang.String> getProperties()
-
setProperties
public void setProperties(java.util.Set<? extends java.util.Map.Entry<java.lang.String,java.lang.String>> propertyEntries)
-
getLogger
public com.synopsys.integration.log.IntLogger getLogger()
-
setLogger
public PolarisServerConfigBuilder setLogger(com.synopsys.integration.log.IntLogger logger)
-
getGson
public com.google.gson.Gson getGson()
-
setGson
public PolarisServerConfigBuilder setGson(com.google.gson.Gson gson)
-
getAuthenticationSupport
public com.synopsys.integration.rest.support.AuthenticationSupport getAuthenticationSupport()
-
setAuthenticationSupport
public PolarisServerConfigBuilder setAuthenticationSupport(com.synopsys.integration.rest.support.AuthenticationSupport authenticationSupport)
-
getUrl
public java.lang.String getUrl()
-
setUrl
public PolarisServerConfigBuilder setUrl(java.lang.String url)
-
getAccessToken
public java.lang.String getAccessToken()
-
setAccessToken
public PolarisServerConfigBuilder setAccessToken(java.lang.String accessToken)
-
getTimeoutInSeconds
public int getTimeoutInSeconds()
-
setTimeoutInSeconds
public PolarisServerConfigBuilder setTimeoutInSeconds(java.lang.String timeout)
-
setTimeoutInSeconds
public PolarisServerConfigBuilder setTimeoutInSeconds(int timeout)
-
getPolarisHome
public java.lang.String getPolarisHome()
-
setPolarisHome
public PolarisServerConfigBuilder setPolarisHome(java.lang.String polarisHome)
-
getAccessTokenFilePath
public java.lang.String getAccessTokenFilePath()
-
setAccessTokenFilePath
public PolarisServerConfigBuilder setAccessTokenFilePath(java.lang.String accessTokenFilePath)
-
getUserHome
public java.lang.String getUserHome()
-
setUserHome
public PolarisServerConfigBuilder setUserHome(java.lang.String userHome)
-
getProxyHost
public java.lang.String getProxyHost()
-
setProxyHost
public PolarisServerConfigBuilder setProxyHost(java.lang.String proxyHost)
-
getProxyPort
public int getProxyPort()
-
setProxyPort
public PolarisServerConfigBuilder setProxyPort(java.lang.String proxyPort)
-
setProxyPort
public PolarisServerConfigBuilder setProxyPort(int proxyPort)
-
getProxyUsername
public java.lang.String getProxyUsername()
-
setProxyUsername
public PolarisServerConfigBuilder setProxyUsername(java.lang.String proxyUsername)
-
getProxyPassword
public java.lang.String getProxyPassword()
-
setProxyPassword
public PolarisServerConfigBuilder setProxyPassword(java.lang.String proxyPassword)
-
getProxyNtlmDomain
public java.lang.String getProxyNtlmDomain()
-
setProxyNtlmDomain
public PolarisServerConfigBuilder setProxyNtlmDomain(java.lang.String proxyNtlmDomain)
-
getProxyNtlmWorkstation
public java.lang.String getProxyNtlmWorkstation()
-
setProxyNtlmWorkstation
public PolarisServerConfigBuilder setProxyNtlmWorkstation(java.lang.String proxyNtlmWorkstation)
-
-