com.atlassian.confluence.api.impl.sal
Class ConfluenceApplicationProperties

java.lang.Object
  extended by 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 AAL Web Properties.


Constructor Summary
ConfluenceApplicationProperties(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager, SettingsManager settingsManager, HttpContext httpContext)
           
 
Method Summary
 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 getPropertyValue(String key)
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceApplicationProperties

public ConfluenceApplicationProperties(com.atlassian.config.bootstrap.AtlassianBootstrapManager bootstrapManager,
                                       SettingsManager settingsManager,
                                       HttpContext httpContext)
Method Detail

getBaseUrl

public String getBaseUrl()
Specified by:
getBaseUrl in interface com.atlassian.sal.api.ApplicationProperties

getBaseUrl

public String getBaseUrl(com.atlassian.sal.api.UrlMode urlMode)

Specified by:
getBaseUrl in interface com.atlassian.sal.api.ApplicationProperties
Since:
5.2

getCanonicalBaseUrl

protected String getCanonicalBaseUrl()
Since:
5.2

getBaseUrlFromRequest

protected com.atlassian.fugue.Option<String> getBaseUrlFromRequest(javax.servlet.http.HttpServletRequest request)
Since:
5.2

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface com.atlassian.sal.api.ApplicationProperties

getVersion

public String getVersion()
Specified by:
getVersion in interface com.atlassian.sal.api.ApplicationProperties

getBuildDate

public Date getBuildDate()
Specified by:
getBuildDate in interface com.atlassian.sal.api.ApplicationProperties

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface com.atlassian.sal.api.ApplicationProperties

getHomeDirectory

public File getHomeDirectory()
Specified by:
getHomeDirectory in interface com.atlassian.sal.api.ApplicationProperties

getPropertyValue

public String getPropertyValue(String key)
Specified by:
getPropertyValue in interface com.atlassian.sal.api.ApplicationProperties

getHttpContext

public HttpContext getHttpContext()

getApplicationName

public String getApplicationName()


Copyright © 2003–2015 Atlassian. All rights reserved.