com.atlassian.bamboo.v2.build.agent.remote
Class AgentConfiguration

java.lang.Object
  extended by 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.


Constructor Summary
AgentConfiguration(com.atlassian.config.HomeLocator homeLocator)
           
 
Method Summary
 java.lang.Long getAgentId()
           
 java.lang.String getAgentName()
           
 java.lang.String getApplicationHome()
           
 java.lang.String getBrokerURL()
           
 java.lang.Object getProperty(java.lang.String key)
           
 RemoteAgentDefinition getRemoteAgentDefinition()
           
 java.lang.String getRemoteEventsTopicQueueName()
           
 void init()
           
 void save()
           
 void saveAgentDefinition(PipelineDefinition remoteConfiguration)
           
 void setApplicationHome(java.lang.String applicationHome)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentConfiguration

public AgentConfiguration(com.atlassian.config.HomeLocator homeLocator)
Method Detail

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 © 2010 Atlassian. All Rights Reserved.