com.atlassian.jira.util
Class BuildUtilsInfoImpl

java.lang.Object
  extended by com.atlassian.jira.util.BuildUtilsInfoImpl
All Implemented Interfaces:
BuildUtilsInfo

public class BuildUtilsInfoImpl
extends java.lang.Object
implements BuildUtilsInfo

Since:
v4.0

Constructor Summary
BuildUtilsInfoImpl()
           
 
Method Summary
 java.lang.String getBuildInformation()
          Gets a build information summary as a String.
 java.lang.String getBuildPartnerName()
          Gets the partner name of this JIRA build
 java.util.Date getCurrentBuildDate()
          Gets the date this version of JIRA was built on.
 java.lang.String getCurrentBuildNumber()
          Gets the current build numbder of JIRA
 java.lang.String getEdition()
           
 java.lang.String getMinimumUpgradableBuildNumber()
          Gets the minimal build number that JIRA can upgrade from
 java.lang.String getMinimumUpgradableVersion()
          Get the minimum version of JIRA that can be upgraded to this instance version.
 java.lang.String getSvnRevision()
          Get the SVN revision of the build as a String.
 java.util.Collection<java.util.Locale> getUnavailableLocales()
           
 java.lang.String getVersion()
          Gets the current version of JIRA
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BuildUtilsInfoImpl

public BuildUtilsInfoImpl()
Method Detail

getVersion

public java.lang.String getVersion()
Description copied from interface: BuildUtilsInfo
Gets the current version of JIRA

Specified by:
getVersion in interface BuildUtilsInfo
Returns:
the current version of JIRA

getCurrentBuildNumber

public java.lang.String getCurrentBuildNumber()
Description copied from interface: BuildUtilsInfo
Gets the current build numbder of JIRA

Specified by:
getCurrentBuildNumber in interface BuildUtilsInfo
Returns:
the current build number of JIRA

getMinimumUpgradableBuildNumber

public java.lang.String getMinimumUpgradableBuildNumber()
Description copied from interface: BuildUtilsInfo
Gets the minimal build number that JIRA can upgrade from

Specified by:
getMinimumUpgradableBuildNumber in interface BuildUtilsInfo
Returns:
the minimal build number that JIRA can upgrade from

getCurrentBuildDate

public java.util.Date getCurrentBuildDate()
Description copied from interface: BuildUtilsInfo
Gets the date this version of JIRA was built on.

Specified by:
getCurrentBuildDate in interface BuildUtilsInfo
Returns:
the date this version of JIRA was built on

getBuildPartnerName

public java.lang.String getBuildPartnerName()
Description copied from interface: BuildUtilsInfo
Gets the partner name of this JIRA build

Specified by:
getBuildPartnerName in interface BuildUtilsInfo
Returns:
the partner name of this JIRA build.

getBuildInformation

public java.lang.String getBuildInformation()
Description copied from interface: BuildUtilsInfo
Gets a build information summary as a String.

Specified by:
getBuildInformation in interface BuildUtilsInfo
Returns:
a build information summary

getSvnRevision

public java.lang.String getSvnRevision()
Description copied from interface: BuildUtilsInfo
Get the SVN revision of the build as a String. Will be empty if building from source and it wasn't checked out from SVN

Specified by:
getSvnRevision in interface BuildUtilsInfo
Returns:
the SVN revision of this build of JIRA

getMinimumUpgradableVersion

public java.lang.String getMinimumUpgradableVersion()
Description copied from interface: BuildUtilsInfo
Get the minimum version of JIRA that can be upgraded to this instance version.

Specified by:
getMinimumUpgradableVersion in interface BuildUtilsInfo
Returns:
the minimum version that can be upgraded.

getEdition

public java.lang.String getEdition()
Specified by:
getEdition in interface BuildUtilsInfo

getUnavailableLocales

public java.util.Collection<java.util.Locale> getUnavailableLocales()
Specified by:
getUnavailableLocales in interface BuildUtilsInfo

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2010 Atlassian. All Rights Reserved.