com.atlassian.jira.sal
Class JiraApplicationProperties

java.lang.Object
  extended by com.atlassian.jira.sal.JiraApplicationProperties
All Implemented Interfaces:
com.atlassian.sal.api.ApplicationProperties

public class JiraApplicationProperties
extends Object
implements com.atlassian.sal.api.ApplicationProperties

JIRA implementation of SAL's ApplicationProperties


Constructor Summary
JiraApplicationProperties(VelocityRequestContextFactory velocityRequestContextFactory, JiraHome jiraHome, ApplicationProperties jiraApplicationProperties, BuildUtilsInfo buildUtilsInfo)
           
 
Method Summary
 String getApplicationName()
           
 String getBaseUrl()
           
 Date getBuildDate()
           
 String getBuildNumber()
           
 String getDisplayName()
           
 File getHomeDirectory()
           
 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

JiraApplicationProperties

public JiraApplicationProperties(VelocityRequestContextFactory velocityRequestContextFactory,
                                 JiraHome jiraHome,
                                 ApplicationProperties jiraApplicationProperties,
                                 BuildUtilsInfo buildUtilsInfo)
Method Detail

getBaseUrl

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

getApplicationName

public String getApplicationName()

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


Copyright © 2002-2011 Atlassian. All Rights Reserved.