Class AgentServerManagerImpl
java.lang.Object
com.atlassian.bamboo.agent.classserver.AgentServerManagerImpl
- All Implemented Interfaces:
AgentServerManager
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.agent.classserver.AgentServerManager
BEAN_NAME
-
Constructor Summary
ConstructorDescriptionAgentServerManagerImpl
(BootstrapManager bootstrapManager, BambooBrokerService broker, Map<String, String> userProperties) -
Method Summary
Modifier and TypeMethodDescriptiongetAgentClass
(String agentType, String agentBootstrapVersion) Unique indetifier for the serverboolean
isServerFingerprintValid
(@Nullable String serverFingerprint) Returns true if finger print matches
-
Constructor Details
-
AgentServerManagerImpl
public AgentServerManagerImpl(BootstrapManager bootstrapManager, BambooBrokerService broker, Map<String, String> userProperties) - Parameters:
userProperties
- The user properties to be passed to remote agents
-
-
Method Details
-
isServerFingerprintValid
Description copied from interface:AgentServerManager
Returns true if finger print matches- Specified by:
isServerFingerprintValid
in interfaceAgentServerManager
- Returns:
- valid
-
getClassLoader
- Specified by:
getClassLoader
in interfaceAgentServerManager
- Returns:
- the
ClassLoader
used to serve classes from
-
getFingerprint
Description copied from interface:AgentServerManager
Unique indetifier for the server- Specified by:
getFingerprint
in interfaceAgentServerManager
- Returns:
- servers unique fingerprint
-
getAgentClass
- Specified by:
getAgentClass
in interfaceAgentServerManager
- Returns:
- the
Agent
boot class to load at fingerprint
-
getUserProperties
- Specified by:
getUserProperties
in interfaceAgentServerManager
- Returns:
- user properties to pass to the remote agent
-