Class ElasticAgentUserDataImpl
java.lang.Object
com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl
- All Implemented Interfaces:
ElasticAgentUserData
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.agent.elastic.ElasticAgentUserData
KEY_STORE_PASSWORD
-
Constructor Summary
ConstructorDescriptionGoogle GSON needs a default ctor.ElasticAgentUserDataImpl
(String baseURL, int startupTimeoutSeconds, String keyManagerAlgorithmName, String trustManagerAlgorithmName, KeyStore keyStore, Map<String, String> metaData, boolean useTunnelForHttp, boolean useTunnelForJms, boolean ignoreCertificateChecks, int tunnelPort, int httpProxyPort, int jmsProxyPort, long elasticImageConfigurationId, String elasticImageConfigurationName) -
Method Summary
Modifier and TypeMethodDescriptionlong
Identifier of elastic configuration that could be used to identify elastic agent when registering at the serverName of elastic configurationint
int
int
int
boolean
If not using the tunnel, and is using HTTPS, should certificates be checked?boolean
Whether to use Tunnelling for http* traffic between the agent and server or not.boolean
Whether to use Tunnelling for JMS traffic between the agent and server or not.
-
Constructor Details
-
ElasticAgentUserDataImpl
public ElasticAgentUserDataImpl(String baseURL, int startupTimeoutSeconds, String keyManagerAlgorithmName, String trustManagerAlgorithmName, KeyStore keyStore, Map<String, String> metaData, boolean useTunnelForHttp, boolean useTunnelForJms, boolean ignoreCertificateChecks, int tunnelPort, int httpProxyPort, int jmsProxyPort, long elasticImageConfigurationId, String elasticImageConfigurationName) -
ElasticAgentUserDataImpl
public ElasticAgentUserDataImpl()Google GSON needs a default ctor.
-
-
Method Details
-
getBaseURL
- Specified by:
getBaseURL
in interfaceElasticAgentUserData
-
getStartupTimeoutSeconds
public int getStartupTimeoutSeconds()- Specified by:
getStartupTimeoutSeconds
in interfaceElasticAgentUserData
-
getKeyManagerAlgorithmName
- Specified by:
getKeyManagerAlgorithmName
in interfaceElasticAgentUserData
-
getTrustManagerAlgorithmName
- Specified by:
getTrustManagerAlgorithmName
in interfaceElasticAgentUserData
-
getKeyStore
- Specified by:
getKeyStore
in interfaceElasticAgentUserData
-
getMetaData
- Specified by:
getMetaData
in interfaceElasticAgentUserData
-
getElasticImageConfigurationId
public long getElasticImageConfigurationId()Description copied from interface:ElasticAgentUserData
Identifier of elastic configuration that could be used to identify elastic agent when registering at the server- Specified by:
getElasticImageConfigurationId
in interfaceElasticAgentUserData
- Returns:
- elasticImageConfiguratrionId
-
isUseTunnelForHttp
public boolean isUseTunnelForHttp()Description copied from interface:ElasticAgentUserData
Whether to use Tunnelling for http* traffic between the agent and server or not.- Specified by:
isUseTunnelForHttp
in interfaceElasticAgentUserData
- Returns:
-
shouldUseTunnelForJms
public boolean shouldUseTunnelForJms()Description copied from interface:ElasticAgentUserData
Whether to use Tunnelling for JMS traffic between the agent and server or not.- Specified by:
shouldUseTunnelForJms
in interfaceElasticAgentUserData
- Returns:
-
isIgnoreCertificateChecks
public boolean isIgnoreCertificateChecks()Description copied from interface:ElasticAgentUserData
If not using the tunnel, and is using HTTPS, should certificates be checked?- Specified by:
isIgnoreCertificateChecks
in interfaceElasticAgentUserData
- Returns:
-
getTunnelPort
public int getTunnelPort()- Specified by:
getTunnelPort
in interfaceElasticAgentUserData
-
getHTTPProxyPort
public int getHTTPProxyPort()- Specified by:
getHTTPProxyPort
in interfaceElasticAgentUserData
-
getJMSProxyPort
public int getJMSProxyPort()- Specified by:
getJMSProxyPort
in interfaceElasticAgentUserData
-
getElasticImageConfigurationName
Description copied from interface:ElasticAgentUserData
Name of elastic configuration- Specified by:
getElasticImageConfigurationName
in interfaceElasticAgentUserData
- Returns:
- elasticImageConfiguratrionNAme
-