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
ConstructorsConstructorDescriptionAgentServerManagerImpl(BootstrapManager bootstrapManager, BambooBrokerService broker, Map<String, String> userProperties) -
Method Summary
Modifier and TypeMethodDescriptiongetAgentClass(String agentType, String agentBootstrapVersion) Unique indetifier for the serverbooleanisServerFingerprintValid(@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:AgentServerManagerReturns true if finger print matches- Specified by:
isServerFingerprintValidin interfaceAgentServerManager- Returns:
- valid
-
getClassLoader
- Specified by:
getClassLoaderin interfaceAgentServerManager- Returns:
- the
ClassLoaderused to serve classes from
-
getFingerprint
Description copied from interface:AgentServerManagerUnique indetifier for the server- Specified by:
getFingerprintin interfaceAgentServerManager- Returns:
- servers unique fingerprint
-
getAgentClass
- Specified by:
getAgentClassin interfaceAgentServerManager- Returns:
- the
Agentboot class to load at fingerprint
-
getUserProperties
- Specified by:
getUserPropertiesin interfaceAgentServerManager- Returns:
- user properties to pass to the remote agent
-