com.atlassian.bamboo.agent.elastic
Class ElasticAgentUserDataImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.ElasticAgentUserDataImpl
All Implemented Interfaces:
ElasticAgentUserData, ElasticAgentTunnelPorts, java.io.Serializable

public class ElasticAgentUserDataImpl
extends java.lang.Object
implements ElasticAgentUserData

See Also:
Serialized Form

Field Summary
static int STARTUP_TIMEOUT_SECONDS_DEFAULT
           
 
Fields inherited from interface com.atlassian.bamboo.agent.elastic.ElasticAgentUserData
KEY_STORE_PASSWORD
 
Constructor Summary
ElasticAgentUserDataImpl(java.lang.String baseURL, int startupTimeoutSeconds, java.lang.String keyManagerAlgorithmName, java.lang.String trustManagerAlgorithmName, java.security.KeyStore keyStore, ElasticAgentTunnelPorts ports, long elasticImageConfigurationId)
           
ElasticAgentUserDataImpl(java.lang.String baseURL, int startupTimeoutSeconds, java.lang.String keyManagerAlgorithmName, java.lang.String trustManagerAlgorithmName, java.security.KeyStore keyStore, java.util.Map<java.lang.String,java.lang.String> metaData, boolean useTunnel, boolean ignoreCertificateChecks, ElasticAgentTunnelPorts ports, long elasticImageConfigurationId, java.lang.String elasticImageConfigurationName)
           
 
Method Summary
 java.lang.String getBaseURL()
           
 long getElasticImageConfigurationId()
          Identifier of elastic configuration that could be used to identify elastic agent when registering at the server
 java.lang.String getElasticImageConfigurationName()
          Name of elastic configuration
 int getHTTPProxyPort()
          The TCP port upon which the Elastic Agent listens for HTTP traffic intended for the Bamboo Server.
 int getJMSProxyPort()
          The TCP port upon which the Elastic Agent listens for JMS traffic intended for the Bamboo Server.
 java.lang.String getKeyManagerAlgorithmName()
           
 java.security.KeyStore getKeyStore()
           
 java.util.Map<java.lang.String,java.lang.String> getMetaData()
           
 int getStartupTimeoutSeconds()
           
 java.lang.String getTrustManagerAlgorithmName()
           
 int getTunnelPort()
          The TCP port upon which Elastic Agents listens for incoming tunnel connections from the Bamboo Server.
 boolean isIgnoreCertificateChecks()
          If not using the tunnel, and is using HTTPS, should certificates be checked?
 boolean isUseTunnelForHttp()
          Whether to use Tunnelling for http* traffic between the agent and server or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STARTUP_TIMEOUT_SECONDS_DEFAULT

public static final int STARTUP_TIMEOUT_SECONDS_DEFAULT
See Also:
Constant Field Values
Constructor Detail

ElasticAgentUserDataImpl

public ElasticAgentUserDataImpl(java.lang.String baseURL,
                                int startupTimeoutSeconds,
                                java.lang.String keyManagerAlgorithmName,
                                java.lang.String trustManagerAlgorithmName,
                                java.security.KeyStore keyStore,
                                ElasticAgentTunnelPorts ports,
                                long elasticImageConfigurationId)

ElasticAgentUserDataImpl

public ElasticAgentUserDataImpl(java.lang.String baseURL,
                                int startupTimeoutSeconds,
                                java.lang.String keyManagerAlgorithmName,
                                java.lang.String trustManagerAlgorithmName,
                                java.security.KeyStore keyStore,
                                java.util.Map<java.lang.String,java.lang.String> metaData,
                                boolean useTunnel,
                                boolean ignoreCertificateChecks,
                                ElasticAgentTunnelPorts ports,
                                long elasticImageConfigurationId,
                                java.lang.String elasticImageConfigurationName)
Method Detail

getBaseURL

public java.lang.String getBaseURL()
Specified by:
getBaseURL in interface ElasticAgentUserData

getStartupTimeoutSeconds

public int getStartupTimeoutSeconds()
Specified by:
getStartupTimeoutSeconds in interface ElasticAgentUserData

getKeyManagerAlgorithmName

public java.lang.String getKeyManagerAlgorithmName()
Specified by:
getKeyManagerAlgorithmName in interface ElasticAgentUserData

getTrustManagerAlgorithmName

public java.lang.String getTrustManagerAlgorithmName()
Specified by:
getTrustManagerAlgorithmName in interface ElasticAgentUserData

getKeyStore

public java.security.KeyStore getKeyStore()
Specified by:
getKeyStore in interface ElasticAgentUserData

getMetaData

public java.util.Map<java.lang.String,java.lang.String> getMetaData()
Specified by:
getMetaData in interface ElasticAgentUserData

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 interface ElasticAgentUserData
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 interface ElasticAgentUserData
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 interface ElasticAgentUserData
Returns:

getTunnelPort

public int getTunnelPort()
Description copied from interface: ElasticAgentTunnelPorts

The TCP port upon which Elastic Agents listens for incoming tunnel connections from the Bamboo Server.

Specified by:
getTunnelPort in interface ElasticAgentTunnelPorts

getHTTPProxyPort

public int getHTTPProxyPort()
Description copied from interface: ElasticAgentTunnelPorts

The TCP port upon which the Elastic Agent listens for HTTP traffic intended for the Bamboo Server.

Specified by:
getHTTPProxyPort in interface ElasticAgentTunnelPorts

getJMSProxyPort

public int getJMSProxyPort()
Description copied from interface: ElasticAgentTunnelPorts

The TCP port upon which the Elastic Agent listens for JMS traffic intended for the Bamboo Server.

Specified by:
getJMSProxyPort in interface ElasticAgentTunnelPorts

getElasticImageConfigurationName

public java.lang.String getElasticImageConfigurationName()
Description copied from interface: ElasticAgentUserData
Name of elastic configuration

Specified by:
getElasticImageConfigurationName in interface ElasticAgentUserData
Returns:
elasticImageConfiguratrionNAme


Copyright © 2010 Atlassian. All Rights Reserved.