|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.agent.elastic.client.TunnelAwareAdministrationConfigurationManagerImpl
public class TunnelAwareAdministrationConfigurationManagerImpl
Purpose of this class is to provide proper Bamboo server URL for elastic agents. Elastic agents use ssh tunnel to access Bamboo server, however this fact is transparent for agent code. However, when Bamboo server URL has to be passed to external process, real URL is required. AdministrationConfiguration provides original URL not tunneled one - so there is a need to translate it.
Constructor Summary | |
---|---|
TunnelAwareAdministrationConfigurationManagerImpl(AdministrationConfigurationManager administrationConfigurationManager,
AgentContext agentContext)
|
Method Summary | |
---|---|
AdministrationConfiguration |
getAdministrationConfiguration()
Retrive the AdministrationConfiguration |
java.io.File |
getConfigurationDirectoryFile()
Return the directory containing the administration.xml file. |
void |
saveAdministrationConfiguration(AdministrationConfiguration administrationConfiguration)
Save the AdministrationConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TunnelAwareAdministrationConfigurationManagerImpl(AdministrationConfigurationManager administrationConfigurationManager, AgentContext agentContext)
Method Detail |
---|
@NotNull public AdministrationConfiguration getAdministrationConfiguration()
AdministrationConfigurationManager
AdministrationConfiguration
getAdministrationConfiguration
in interface AdministrationConfigurationManager
public void saveAdministrationConfiguration(@NotNull AdministrationConfiguration administrationConfiguration)
AdministrationConfigurationManager
AdministrationConfiguration
saveAdministrationConfiguration
in interface AdministrationConfigurationManager
@NotNull public java.io.File getConfigurationDirectoryFile()
AdministrationConfigurationManager
getConfigurationDirectoryFile
in interface AdministrationConfigurationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |