com.atlassian.bamboo.agent.classserver
Class AgentServerManagerImpl
java.lang.Object
com.atlassian.bamboo.agent.classserver.AgentServerManagerImpl
- All Implemented Interfaces:
- AgentServerManager
public class AgentServerManagerImpl
- extends java.lang.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,
java.util.Map<java.lang.Object,java.lang.Object> userProperties)
throws java.security.NoSuchAlgorithmException
- Parameters:
userProperties
- The user properties to be passed to remote agents, in String "key=value" form.
available.
- Throws:
java.security.NoSuchAlgorithmException
isFingerprintValid
public boolean isFingerprintValid(java.lang.String fingerprint)
- Description copied from interface:
AgentServerManager
- Returns true if finger print matches
- Specified by:
isFingerprintValid
in interface AgentServerManager
- Returns:
- valid
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Specified by:
getClassLoader
in interface AgentServerManager
- Returns:
- the
ClassLoader
used to serve classes from
getFingerprint
public java.lang.String getFingerprint()
- Description copied from interface:
AgentServerManager
- Unique indetifier for the server
- Specified by:
getFingerprint
in interface AgentServerManager
- Returns:
- servers unique fingerprint
getAgentClass
public java.lang.Class<? extends Agent> getAgentClass(java.lang.String agentType,
java.lang.String agentBootstrapVersion)
- Specified by:
getAgentClass
in interface AgentServerManager
- Returns:
- the
Agent
boot class to load at fingerprint
getUserProperties
public java.util.Map<java.lang.Object,java.lang.Object> getUserProperties()
- Specified by:
getUserProperties
in interface AgentServerManager
- Returns:
- user properties to pass to the remote agent
Copyright © 2012 Atlassian. All Rights Reserved.