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 StringgetHomePath()Local (i.e.@Nullable StringgetLocalHomePath()Local (i.e.@NotNull StringgetSharedHomePath()Shared Bamboo home.voidsetConfigFileName(String configFileName)voidsetNodeHomePropertyName(String nodeHomePropertyName)voidsetPropertiesFile(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:BambooHomeLocatorLocal (i.e. node specific) Bamboo home. The same asBambooHomeLocator.getLocalHomePath().- Specified by:
getHomePathin interfaceBambooHomeLocator- Specified by:
getHomePathin interfacecom.atlassian.config.HomeLocator- Overrides:
getHomePathin classcom.atlassian.config.DefaultHomeLocator
-
getSharedHomePath
@NotNull public @NotNull String getSharedHomePath()
Description copied from interface:BambooHomeLocatorShared Bamboo home. Can only be the same asBambooHomeLocator.getLocalHomePath()if run in single node mode.- Specified by:
getSharedHomePathin interfaceBambooHomeLocator
-
getLocalHomePath
@Nullable public @Nullable String getLocalHomePath()
Description copied from interface:BambooHomeLocatorLocal (i.e. node specific) Bamboo home. The same asBambooHomeLocator.getHomePath().- Specified by:
getLocalHomePathin interfaceBambooHomeLocator
-
setConfigFileName
public void setConfigFileName(String configFileName)
- Overrides:
setConfigFileNamein classcom.atlassian.config.DefaultHomeLocator
-
setPropertiesFile
public void setPropertiesFile(String propertiesFile)
- Overrides:
setPropertiesFilein classcom.atlassian.config.DefaultHomeLocator
-
setNodeHomePropertyName
public void setNodeHomePropertyName(String nodeHomePropertyName)
-
-