public class ConfluenceApplicationProperties extends Object implements com.atlassian.sal.api.ApplicationProperties
Constructor and Description |
---|
ConfluenceApplicationProperties(SettingsManager 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) |
Modifier and Type | Method and Description |
---|---|
String |
getApplicationFileEncoding() |
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()
Deprecated.
since 7.5.0 use specific
getLocalHomeDirectory() or getSharedHomeDirectory() |
HttpContext |
getHttpContext() |
Optional<Path> |
getLocalHomeDirectory() |
@NonNull String |
getPlatformId() |
String |
getPropertyValue(String key) |
Optional<Path> |
getSharedHomeDirectory() |
String |
getVersion() |
public ConfluenceApplicationProperties(SettingsManager 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)
public String getBaseUrl()
getBaseUrl
in interface com.atlassian.sal.api.ApplicationProperties
public String getBaseUrl(com.atlassian.sal.api.UrlMode urlMode)
getBaseUrl
in interface com.atlassian.sal.api.ApplicationProperties
protected String getCanonicalBaseUrl()
protected com.atlassian.fugue.Option<String> getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request)
public String getDisplayName()
getDisplayName
in interface com.atlassian.sal.api.ApplicationProperties
public String getVersion()
getVersion
in interface com.atlassian.sal.api.ApplicationProperties
public Date getBuildDate()
getBuildDate
in interface com.atlassian.sal.api.ApplicationProperties
public String getBuildNumber()
getBuildNumber
in interface com.atlassian.sal.api.ApplicationProperties
@Deprecated public File getHomeDirectory()
getLocalHomeDirectory()
or getSharedHomeDirectory()
getHomeDirectory
in interface com.atlassian.sal.api.ApplicationProperties
@Nonnull public Optional<Path> getLocalHomeDirectory()
getLocalHomeDirectory
in interface com.atlassian.sal.api.ApplicationProperties
@Nonnull public Optional<Path> getSharedHomeDirectory()
getSharedHomeDirectory
in interface com.atlassian.sal.api.ApplicationProperties
public String getPropertyValue(String key)
getPropertyValue
in interface com.atlassian.sal.api.ApplicationProperties
public HttpContext getHttpContext()
public String getApplicationName()
public @NonNull String getPlatformId()
getPlatformId
in interface com.atlassian.sal.api.ApplicationProperties
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences