Package com.atlassian.bamboo.setup
Class BambooHomeLocatorImpl
- java.lang.Object
-
- com.atlassian.config.DefaultHomeLocator
-
- com.atlassian.bamboo.setup.BambooHomeLocatorImpl
-
- All Implemented Interfaces:
BambooHomeLocator
,com.atlassian.config.HomeLocator
- Direct Known Subclasses:
BambooRollingFileAppender.HomeLocatorImpl
public class BambooHomeLocatorImpl extends com.atlassian.config.DefaultHomeLocator implements BambooHomeLocator
-
-
Constructor Summary
Constructors Constructor Description BambooHomeLocatorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable String
getHomePath()
Local (i.e.@Nullable String
getLocalHomePath()
Local (i.e.@NotNull String
getSharedHomePath()
Shared Bamboo home.void
setConfigFileName(String configFileName)
void
setNodeHomePropertyName(String nodeHomePropertyName)
void
setPropertiesFile(String propertiesFile)
-
Methods inherited from class com.atlassian.config.DefaultHomeLocator
getConfigFileName, getPropertiesFile, lookupServletHomeProperty, setInitPropertyName
-
-
-
-
Method Detail
-
getHomePath
@Nullable public @Nullable 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
- Overrides:
getHomePath
in classcom.atlassian.config.DefaultHomeLocator
-
getSharedHomePath
@NotNull public @NotNull 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
-
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
-
setConfigFileName
public void setConfigFileName(String configFileName)
- Overrides:
setConfigFileName
in classcom.atlassian.config.DefaultHomeLocator
-
setPropertiesFile
public void setPropertiesFile(String propertiesFile)
- Overrides:
setPropertiesFile
in classcom.atlassian.config.DefaultHomeLocator
-
setNodeHomePropertyName
public void setNodeHomePropertyName(String nodeHomePropertyName)
-
-