com.atlassian.bamboo.v2.build.agent.remote
Class AgentConfiguration
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.AgentConfiguration
public class AgentConfiguration
- extends java.lang.Object
Temporary fix to make agent configuration extend administration configuration
Admin config should be split up and rolled up into "capabilities" functionality.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentConfiguration
public AgentConfiguration(com.atlassian.config.HomeLocator homeLocator)
init
public void init()
throws ConfigurationException
- Throws:
ConfigurationException
getRemoteAgentDefinition
@NotNull
public RemoteAgentDefinition getRemoteAgentDefinition()
getAgentId
public java.lang.Long getAgentId()
getRemoteEventsTopicQueueName
public java.lang.String getRemoteEventsTopicQueueName()
getAgentName
@NotNull
public java.lang.String getAgentName()
saveAgentDefinition
public void saveAgentDefinition(PipelineDefinition remoteConfiguration)
getProperty
public java.lang.Object getProperty(java.lang.String key)
setProperty
public void setProperty(java.lang.String key,
java.lang.Object value)
save
public void save()
throws ConfigurationException
- Throws:
ConfigurationException
getApplicationHome
public java.lang.String getApplicationHome()
setApplicationHome
public void setApplicationHome(java.lang.String applicationHome)
getBrokerURL
public java.lang.String getBrokerURL()
setXmlConfiguration
public void setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
Copyright © 2011 Atlassian. All Rights Reserved.