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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAgentConfiguration
(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) void
updateNameAndDescription
(String name, String description)
-
Field Details
-
NAME_PROPERTY
- See Also:
-
DESCRIPTION_PROPERTY
- See Also:
-
-
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
-
updateNameAndDescription
-
getProperty
-
setProperty
-
hasProperty
-
save
- Throws:
ConfigurationException
-
getApplicationHome
-
setApplicationHome
-
getBrokerURL
-
setXmlConfiguration
public void setXmlConfiguration(org.apache.commons.configuration.XMLConfiguration xmlConfiguration)
-