com.atlassian.bamboo.agent.bootstrap
Class AgentContext
java.lang.Object
com.atlassian.bamboo.agent.bootstrap.AgentContext
public class AgentContext
- extends java.lang.Object
Constructor Summary |
AgentContext(org.apache.commons.httpclient.HttpClient httpClient,
java.lang.String baseUrl,
java.lang.String fingerPrintRequestSuffix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FINGERPRINT
public static final java.lang.String FINGERPRINT
- See Also:
- Constant Field Values
AgentContext
public AgentContext(org.apache.commons.httpclient.HttpClient httpClient,
java.lang.String baseUrl,
java.lang.String fingerPrintRequestSuffix)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getFingerprint
public java.lang.String getFingerprint()
run
protected void run()
getAbsoluteURL
public java.lang.String getAbsoluteURL(java.lang.String relativeUrl)
getHttpClient
public org.apache.commons.httpclient.HttpClient getHttpClient()
getUserProperties
public java.util.Map<java.lang.String,java.lang.String> getUserProperties()
panic
public java.lang.Error panic(java.lang.Throwable throwable)
Shutdown the AgentContext
, as a unrecoverable error has occurred.
- Parameters:
throwable
- The Throwable
that caused the panic.
- Returns:
- Never returns; Declared as returning Error so that callers can throw result to indicate to compiler that
subsequent code is unreachable.
Copyright © 2010 Atlassian. All Rights Reserved.