Package com.atlassian.sal.bamboo
Class BambooApplicationProperties
- java.lang.Object
-
- com.atlassian.sal.bamboo.BambooApplicationProperties
-
- All Implemented Interfaces:
com.atlassian.sal.api.ApplicationProperties
@Component public class BambooApplicationProperties extends Object implements com.atlassian.sal.api.ApplicationProperties
-
-
Constructor Summary
Constructors Constructor Description BambooApplicationProperties(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooHomeLocator homeLocator)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull String
getApplicationFileEncoding()
String
getBaseUrl()
Deprecated.since sal-2.10String
getBaseUrl(com.atlassian.sal.api.UrlMode urlMode)
Date
getBuildDate()
String
getBuildNumber()
String
getDisplayName()
File
getHomeDirectory()
@NotNull Optional<Path>
getLocalHomeDirectory()
@NotNull String
getPlatformId()
String
getPropertyValue(String key)
@NotNull Optional<Path>
getSharedHomeDirectory()
String
getVersion()
-
-
-
Constructor Detail
-
BambooApplicationProperties
@Autowired public BambooApplicationProperties(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooHomeLocator homeLocator)
-
-
Method Detail
-
getBaseUrl
@Deprecated public String getBaseUrl()
Deprecated.since sal-2.10- Specified by:
getBaseUrl
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getBaseUrl
public String getBaseUrl(com.atlassian.sal.api.UrlMode urlMode)
- Specified by:
getBaseUrl
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getVersion
public String getVersion()
- Specified by:
getVersion
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getBuildDate
public Date getBuildDate()
- Specified by:
getBuildDate
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getBuildNumber
public String getBuildNumber()
- Specified by:
getBuildNumber
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getHomeDirectory
public File getHomeDirectory()
- Specified by:
getHomeDirectory
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getLocalHomeDirectory
@NotNull public @NotNull Optional<Path> getLocalHomeDirectory()
- Specified by:
getLocalHomeDirectory
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getSharedHomeDirectory
@NotNull public @NotNull Optional<Path> getSharedHomeDirectory()
- Specified by:
getSharedHomeDirectory
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getPropertyValue
public String getPropertyValue(String key)
- Specified by:
getPropertyValue
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getApplicationFileEncoding
@NotNull public @NotNull String getApplicationFileEncoding()
- Specified by:
getApplicationFileEncoding
in interfacecom.atlassian.sal.api.ApplicationProperties
-
getPlatformId
@NotNull public @NotNull String getPlatformId()
- Specified by:
getPlatformId
in interfacecom.atlassian.sal.api.ApplicationProperties
-
-