Class ConfluenceApplicationProperties
java.lang.Object
com.atlassian.confluence.api.impl.sal.ConfluenceApplicationProperties
- All Implemented Interfaces:
com.atlassian.sal.api.ApplicationProperties
public class ConfluenceApplicationProperties
extends Object
implements com.atlassian.sal.api.ApplicationProperties
Confluence implementation of the SAL Application Properties.
-
Field Summary
Fields inherited from interface com.atlassian.sal.api.ApplicationProperties
PLATFORM_BAMBOO, PLATFORM_BITBUCKET, PLATFORM_CONFLUENCE, PLATFORM_CROWD, PLATFORM_FECRU, PLATFORM_JIRA, PLATFORM_STASH -
Constructor Summary
ConstructorsConstructorDescriptionConfluenceApplicationProperties(GlobalSettingsManager settingsManager, ClusterConfigurationHelper clusterConfigurationHelper, HttpContext httpContext, com.atlassian.dc.filestore.api.compat.FilesystemPath sharedHome, com.atlassian.dc.filestore.api.compat.FilesystemPath localHome, com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome) -
Method Summary
Modifier and TypeMethodDescription@NonNull StringgetBaseUrl(com.atlassian.sal.api.UrlMode urlMode) protected com.atlassian.fugue.Option<String>getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request) protected String@NonNull StringgetPropertyValue(String key)
-
Constructor Details
-
ConfluenceApplicationProperties
public ConfluenceApplicationProperties(GlobalSettingsManager settingsManager, ClusterConfigurationHelper clusterConfigurationHelper, HttpContext httpContext, com.atlassian.dc.filestore.api.compat.FilesystemPath sharedHome, com.atlassian.dc.filestore.api.compat.FilesystemPath localHome, com.atlassian.dc.filestore.api.compat.FilesystemPath confluenceHome)
-
-
Method Details
-
getBaseUrl
- Specified by:
getBaseUrlin interfacecom.atlassian.sal.api.ApplicationProperties
-
getBaseUrl
- Specified by:
getBaseUrlin interfacecom.atlassian.sal.api.ApplicationProperties- Since:
- 5.2
-
getCanonicalBaseUrl
- Since:
- 5.2
-
getBaseUrlFromRequest
protected com.atlassian.fugue.Option<String> getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request) - Since:
- 5.2
-
getDisplayName
- Specified by:
getDisplayNamein interfacecom.atlassian.sal.api.ApplicationProperties
-
getVersion
- Specified by:
getVersionin interfacecom.atlassian.sal.api.ApplicationProperties
-
getBuildDate
- Specified by:
getBuildDatein interfacecom.atlassian.sal.api.ApplicationProperties
-
getBuildNumber
- Specified by:
getBuildNumberin interfacecom.atlassian.sal.api.ApplicationProperties
-
getHomeDirectory
- Specified by:
getHomeDirectoryin interfacecom.atlassian.sal.api.ApplicationProperties
-
getLocalHomeDirectory
- Specified by:
getLocalHomeDirectoryin interfacecom.atlassian.sal.api.ApplicationProperties
-
getPropertyValue
- Specified by:
getPropertyValuein interfacecom.atlassian.sal.api.ApplicationProperties
-
getHttpContext
-
getApplicationName
-
getPlatformId
- Specified by:
getPlatformIdin interfacecom.atlassian.sal.api.ApplicationProperties
-
getApplicationFileEncoding
- Specified by:
getApplicationFileEncodingin interfacecom.atlassian.sal.api.ApplicationProperties
-