public class ConfluenceApplicationProperties extends Object implements com.atlassian.sal.api.ApplicationProperties
| Constructor and Description |
|---|
ConfluenceApplicationProperties(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
SettingsManager settingsManager,
HttpContext httpContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
String |
getBaseUrl() |
String |
getBaseUrl(com.atlassian.sal.api.UrlMode urlMode) |
protected com.atlassian.fugue.Option<String> |
getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request) |
Date |
getBuildDate() |
String |
getBuildNumber() |
protected String |
getCanonicalBaseUrl() |
String |
getDisplayName() |
File |
getHomeDirectory() |
HttpContext |
getHttpContext() |
@NonNull String |
getPlatformId() |
String |
getPropertyValue(String key) |
String |
getVersion() |
public ConfluenceApplicationProperties(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
SettingsManager settingsManager,
HttpContext httpContext)
public String getBaseUrl()
getBaseUrl in interface com.atlassian.sal.api.ApplicationPropertiespublic String getBaseUrl(com.atlassian.sal.api.UrlMode urlMode)
getBaseUrl in interface com.atlassian.sal.api.ApplicationPropertiesprotected String getCanonicalBaseUrl()
protected com.atlassian.fugue.Option<String> getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request)
public String getDisplayName()
getDisplayName in interface com.atlassian.sal.api.ApplicationPropertiespublic String getVersion()
getVersion in interface com.atlassian.sal.api.ApplicationPropertiespublic Date getBuildDate()
getBuildDate in interface com.atlassian.sal.api.ApplicationPropertiespublic String getBuildNumber()
getBuildNumber in interface com.atlassian.sal.api.ApplicationPropertiespublic File getHomeDirectory()
getHomeDirectory in interface com.atlassian.sal.api.ApplicationPropertiespublic String getPropertyValue(String key)
getPropertyValue in interface com.atlassian.sal.api.ApplicationPropertiespublic HttpContext getHttpContext()
public String getApplicationName()
public @NonNull String getPlatformId()
getPlatformId in interface com.atlassian.sal.api.ApplicationPropertiesCopyright © 2003–2021 Atlassian. All rights reserved.