com.atlassian.sal.bamboo
Class BambooApplicationProperties

java.lang.Object
  extended by com.atlassian.sal.bamboo.BambooApplicationProperties
All Implemented Interfaces:
ApplicationProperties

public class BambooApplicationProperties
extends Object
implements ApplicationProperties


Constructor Summary
BambooApplicationProperties(com.atlassian.bamboo.configuration.AdministrationConfigurationManager administrationConfigurationManager, com.atlassian.config.HomeLocator homeLocator)
           
 
Method Summary
 String getBaseUrl()
          Get the base URL of the current application.
 Date getBuildDate()
           
 String getBuildNumber()
           
 String getDisplayName()
           
 File getHomeDirectory()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooApplicationProperties

public BambooApplicationProperties(com.atlassian.bamboo.configuration.AdministrationConfigurationManager administrationConfigurationManager,
                                   com.atlassian.config.HomeLocator homeLocator)
Method Detail

getBaseUrl

public String getBaseUrl()
Description copied from interface: ApplicationProperties
Get the base URL of the current application.

Specified by:
getBaseUrl in interface ApplicationProperties
Returns:
the current application's base URL

getVersion

public String getVersion()
Specified by:
getVersion in interface ApplicationProperties
Returns:
the version of the application

getBuildDate

public Date getBuildDate()
Specified by:
getBuildDate in interface ApplicationProperties
Returns:
the build date of the application

getBuildNumber

public String getBuildNumber()
Specified by:
getBuildNumber in interface ApplicationProperties
Returns:
the build number of the application

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface ApplicationProperties
Returns:
the displayable name of the application

getHomeDirectory

public File getHomeDirectory()
Specified by:
getHomeDirectory in interface ApplicationProperties
Returns:
the home directory of the application or null if none is defined


Copyright © 2010 Atlassian. All Rights Reserved.