Class AgentConfiguration
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.remote.AgentConfiguration
-
public class AgentConfiguration extends Object
Temporary fix to make agent configuration extend administration configurationAdmin config should be split up and rolled up into "capabilities" functionality.
-
-
Constructor Summary
Constructors Constructor Description AgentConfiguration(com.atlassian.config.HomeLocator homeLocator, javax.jms.Topic remoteEventsTopic, javax.jms.Topic remoteEventsLongLivedTopic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getAgentDescription()
long
getAgentId()
@NotNull String
getAgentName()
String
getApplicationHome()
String
getBrokerURL()
@NotNull RemotableEphemeralAgentDefinitionImpl
getEphemeralAgentDefinition()
Object
getProperty(String key)
@NotNull RemotableRemoteAgentDefinition
getRemoteAgentDefinition()
String
getRemoteEventsLongLivedTopicQueueName()
String
getRemoteEventsTopicQueueName()
boolean
hasProperty(String key)
void
init()
void
save()
void
saveAgentDefinition(RemotableRemoteAgentDefinition remoteConfiguration)
void
setApplicationHome(String applicationHome)
void
setProperty(String key, Object value)
void
setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
-
-
-
Method Detail
-
init
public void init() throws ConfigurationException
- Throws:
ConfigurationException
-
getRemoteAgentDefinition
@NotNull public @NotNull RemotableRemoteAgentDefinition getRemoteAgentDefinition()
-
getEphemeralAgentDefinition
@NotNull public @NotNull RemotableEphemeralAgentDefinitionImpl getEphemeralAgentDefinition() throws ConfigurationException
- Throws:
ConfigurationException
-
getAgentId
public long getAgentId()
-
getRemoteEventsTopicQueueName
public String getRemoteEventsTopicQueueName()
-
getRemoteEventsLongLivedTopicQueueName
public String getRemoteEventsLongLivedTopicQueueName()
-
getAgentName
@NotNull public @NotNull String getAgentName()
-
getAgentDescription
@NotNull public @NotNull String getAgentDescription()
-
saveAgentDefinition
public void saveAgentDefinition(RemotableRemoteAgentDefinition remoteConfiguration)
-
hasProperty
public boolean hasProperty(String key)
-
save
public void save() throws ConfigurationException
- Throws:
ConfigurationException
-
getApplicationHome
public String getApplicationHome()
-
setApplicationHome
public void setApplicationHome(String applicationHome)
-
getBrokerURL
public String getBrokerURL()
-
setXmlConfiguration
public void setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
-
-