public class AgentServerManagerImpl extends Object implements AgentServerManager
BEAN_NAME| Constructor and Description |
|---|
AgentServerManagerImpl(com.atlassian.bamboo.setup.BootstrapManager bootstrapManager,
Map<Object,Object> userProperties) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Agent> |
getAgentClass(String agentType,
String agentBootstrapVersion) |
ClassLoader |
getClassLoader() |
com.atlassian.bamboo.setup.ServerFingerprint |
getFingerprint()
Unique indetifier for the server
|
Map<Object,Object> |
getUserProperties() |
boolean |
isServerFingerprintValid(String serverFingerprint)
Returns true if finger print matches
|
public AgentServerManagerImpl(com.atlassian.bamboo.setup.BootstrapManager bootstrapManager,
Map<Object,Object> userProperties)
throws NoSuchAlgorithmException
userProperties - The user properties to be passed to remote agents, in String "key=value" form.
available.NoSuchAlgorithmExceptionpublic boolean isServerFingerprintValid(String serverFingerprint)
AgentServerManagerisServerFingerprintValid in interface AgentServerManagerpublic ClassLoader getClassLoader()
getClassLoader in interface AgentServerManagerClassLoader used to serve classes frompublic com.atlassian.bamboo.setup.ServerFingerprint getFingerprint()
AgentServerManagergetFingerprint in interface AgentServerManagerpublic Class<? extends Agent> getAgentClass(String agentType, String agentBootstrapVersion)
getAgentClass in interface AgentServerManagerAgent boot class to load at fingerprintpublic Map<Object,Object> getUserProperties()
getUserProperties in interface AgentServerManagerCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.