public class AgentServerManagerImpl extends Object implements AgentServerManager
BEAN_NAME
Constructor and Description |
---|
AgentServerManagerImpl(BootstrapManager bootstrapManager,
BambooBrokerService broker,
Map<String,String> userProperties) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Agent> |
getAgentClass(String agentType,
String agentBootstrapVersion) |
ClassLoader |
getClassLoader() |
ServerFingerprint |
getFingerprint()
Unique indetifier for the server
|
Map<String,String> |
getUserProperties() |
boolean |
isServerFingerprintValid(String serverFingerprint)
Returns true if finger print matches
|
public AgentServerManagerImpl(BootstrapManager bootstrapManager, BambooBrokerService broker, Map<String,String> userProperties)
userProperties
- The user properties to be passed to remote agentspublic boolean isServerFingerprintValid(@Nullable String serverFingerprint)
AgentServerManager
isServerFingerprintValid
in interface AgentServerManager
public ClassLoader getClassLoader()
getClassLoader
in interface AgentServerManager
ClassLoader
used to serve classes frompublic ServerFingerprint getFingerprint()
AgentServerManager
getFingerprint
in interface AgentServerManager
public Class<? extends Agent> getAgentClass(String agentType, String agentBootstrapVersion)
getAgentClass
in interface AgentServerManager
Agent
boot class to load at fingerprintpublic Map<String,String> getUserProperties()
getUserProperties
in interface AgentServerManager
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.