Class AgentConfiguration
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.AgentConfiguration
Temporary fix to make agent configuration extend administration configuration
Admin config should be split up and rolled up into "capabilities" functionality.
-
Constructor Summary
ConstructorDescriptionAgentConfiguration
(com.atlassian.config.HomeLocator homeLocator, javax.jms.Topic remoteEventsTopic, javax.jms.Topic remoteEventsLongLivedTopic) -
Method Summary
Modifier and TypeMethodDescription@NotNull String
long
@NotNull String
getProperty
(String key) @NotNull RemotableRemoteAgentDefinition
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)
-
Constructor Details
-
AgentConfiguration
public AgentConfiguration(com.atlassian.config.HomeLocator homeLocator, javax.jms.Topic remoteEventsTopic, javax.jms.Topic remoteEventsLongLivedTopic)
-
-
Method Details
-
init
- Throws:
ConfigurationException
-
getRemoteAgentDefinition
-
getEphemeralAgentDefinition
@NotNull public @NotNull RemotableEphemeralAgentDefinitionImpl getEphemeralAgentDefinition() throws ConfigurationException- Throws:
ConfigurationException
-
getAgentId
public long getAgentId() -
getRemoteEventsTopicQueueName
-
getRemoteEventsLongLivedTopicQueueName
-
getAgentName
-
getAgentDescription
-
saveAgentDefinition
-
getProperty
-
setProperty
-
hasProperty
-
save
- Throws:
ConfigurationException
-
getApplicationHome
-
setApplicationHome
-
getBrokerURL
-
setXmlConfiguration
public void setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
-