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() |
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.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
public File getHomeDirectory()
getHomeDirectory
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()
Copyright © 2003–2016 Atlassian. All rights reserved.