Class RemoteAgentHomeLocator
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.remote.RemoteAgentHomeLocator
-
- All Implemented Interfaces:
BambooHomeLocator
,com.atlassian.config.HomeLocator
public class RemoteAgentHomeLocator extends Object implements BambooHomeLocator
A
BambooHomeLocatorImpl
for remote agents.In the case that a Bamboo home is not explicitly defined, it will default to ~/bamboo-agent-home.
-
-
Constructor Summary
Constructors Constructor Description RemoteAgentHomeLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConfigFileName()
@NotNull String
getHomePath()
Local (i.e.@Nullable String
getLocalHomePath()
Local (i.e.@Nullable String
getSharedHomePath()
Shared Bamboo home.void
lookupServletHomeProperty(javax.servlet.ServletContext context)
void
setConfigFileName(String configFileName)
-
-
-
Method Detail
-
getHomePath
@NotNull public @NotNull String getHomePath()
Description copied from interface:BambooHomeLocator
Local (i.e. node specific) Bamboo home. The same asBambooHomeLocator.getLocalHomePath()
.- Specified by:
getHomePath
in interfaceBambooHomeLocator
- Specified by:
getHomePath
in interfacecom.atlassian.config.HomeLocator
-
getLocalHomePath
@Nullable public @Nullable String getLocalHomePath()
Description copied from interface:BambooHomeLocator
Local (i.e. node specific) Bamboo home. The same asBambooHomeLocator.getHomePath()
.- Specified by:
getLocalHomePath
in interfaceBambooHomeLocator
-
getSharedHomePath
@Nullable public @Nullable String getSharedHomePath()
Description copied from interface:BambooHomeLocator
Shared Bamboo home. Can only be the same asBambooHomeLocator.getLocalHomePath()
if run in single node mode.- Specified by:
getSharedHomePath
in interfaceBambooHomeLocator
-
getConfigFileName
public String getConfigFileName()
- Specified by:
getConfigFileName
in interfacecom.atlassian.config.HomeLocator
-
setConfigFileName
public void setConfigFileName(String configFileName)
-
lookupServletHomeProperty
public void lookupServletHomeProperty(javax.servlet.ServletContext context)
- Specified by:
lookupServletHomeProperty
in interfacecom.atlassian.config.HomeLocator
-
-