com.atlassian.bamboo.agent.classserver
Class AgentServerManagerImpl
java.lang.Object
com.atlassian.bamboo.agent.classserver.AgentServerManagerImpl
- All Implemented Interfaces:
- AgentServerManager
public class AgentServerManagerImpl
- extends Object
- implements AgentServerManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentServerManagerImpl
public AgentServerManagerImpl(BootstrapManager bootstrapManager,
Map<Object,Object> userProperties)
throws NoSuchAlgorithmException
- Parameters:
userProperties
- The user properties to be passed to remote agents, in String "key=value" form.
available.
- Throws:
NoSuchAlgorithmException
isServerFingerprintValid
public boolean isServerFingerprintValid(String serverFingerprint)
- Description copied from interface:
AgentServerManager
- Returns true if finger print matches
- Specified by:
isServerFingerprintValid
in interface AgentServerManager
- Returns:
- valid
getClassLoader
public ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface AgentServerManager
- Returns:
- the
ClassLoader
used to serve classes from
getFingerprint
public ServerFingerprint getFingerprint()
- Description copied from interface:
AgentServerManager
- Unique indetifier for the server
- Specified by:
getFingerprint
in interface AgentServerManager
- Returns:
- servers unique fingerprint
getAgentClass
public Class<? extends Agent> getAgentClass(String agentType,
String agentBootstrapVersion)
- Specified by:
getAgentClass
in interface AgentServerManager
- Returns:
- the
Agent
boot class to load at fingerprint
getUserProperties
public Map<Object,Object> getUserProperties()
- Specified by:
getUserProperties
in interface AgentServerManager
- Returns:
- user properties to pass to the remote agent
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.