com.atlassian.bamboo.agent.elastic.client
Class ElasticAgentBootstrap
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.AgentBootstrap
com.atlassian.bamboo.agent.elastic.client.ElasticAgentBootstrap
- All Implemented Interfaces:
- ElasticAgentTunnelPorts
public class ElasticAgentBootstrap
- extends AgentBootstrap
- implements ElasticAgentTunnelPorts
Method Summary |
protected java.lang.String |
getFingerprintRequestSuffix()
|
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. |
protected java.lang.String |
getProxyBaseURL()
|
protected int |
getStartupTimeoutSeconds()
|
int |
getTunnelPort()
The TCP port upon which Elastic Agents listens for incoming tunnel connections from the Bamboo Server. |
static void |
main(java.lang.String[] arguments)
|
protected org.apache.commons.httpclient.HttpClient |
newHttpClient()
|
protected void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPT_SCHEME
protected static final java.lang.String HTTPT_SCHEME
- See Also:
- Constant Field Values
HTTPST_SCHEME
protected static final java.lang.String HTTPST_SCHEME
- See Also:
- Constant Field Values
main
public static void main(java.lang.String[] arguments)
getStartupTimeoutSeconds
protected int getStartupTimeoutSeconds()
- Overrides:
getStartupTimeoutSeconds
in class AgentBootstrap
run
protected void run()
- Overrides:
run
in class AgentBootstrap
getFingerprintRequestSuffix
protected java.lang.String getFingerprintRequestSuffix()
- Overrides:
getFingerprintRequestSuffix
in class AgentBootstrap
newHttpClient
protected org.apache.commons.httpclient.HttpClient newHttpClient()
throws java.lang.ClassNotFoundException,
java.net.MalformedURLException
- Overrides:
newHttpClient
in class AgentBootstrap
- Throws:
java.lang.ClassNotFoundException
java.net.MalformedURLException
getProxyBaseURL
protected java.lang.String getProxyBaseURL()
throws java.net.MalformedURLException
- Overrides:
getProxyBaseURL
in class AgentBootstrap
- Throws:
java.net.MalformedURLException
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
Copyright © 2011 Atlassian. All Rights Reserved.