com.atlassian.jira.util
Interface BuildUtilsInfo


public interface BuildUtilsInfo

Provides version information about the currently running build of JIRA.

Since:
v4.0

Method Summary
 int getApplicationBuildNumber()
          Gets the build number of this JIRA install.
 String getApplinksVersion()
          Returns the version of AppLinks that JIRA ships with.
 String getBuildInformation()
          Gets a build information summary as a String.
 String getBuildPartnerName()
          Gets the partner name of this JIRA build
 Date getCurrentBuildDate()
          Gets the date this version of JIRA was built on.
 String getCurrentBuildNumber()
          Gets the current build number of JIRA.
 int getDatabaseBuildNumber()
          Gets the build number of the database that this JIRA instance points to.
 String getMinimumUpgradableBuildNumber()
          Gets the minimal build number that JIRA can upgrade from
 String getMinimumUpgradableVersion()
          Get the minimum version of JIRA that can be upgraded to this instance version.
 String getSalVersion()
          Returns the version of Atlassian SAL that JIRA exports into OSGI-land.
 String getSvnRevision()
          Get the SVN revision of the build as a String.
 Collection<Locale> getUnavailableLocales()
           
 String getVersion()
          Gets the current version of JIRA
 

Method Detail

getVersion

String getVersion()
Gets the current version of JIRA

Returns:
the current version of JIRA

getCurrentBuildNumber

String getCurrentBuildNumber()
Gets the current build number of JIRA.

This is the same value as getApplicationBuildNumber() except it is returned as a String.

Returns:
the current build number of JIRA
See Also:
getDatabaseBuildNumber(), getApplicationBuildNumber()

getApplicationBuildNumber

int getApplicationBuildNumber()
Gets the build number of this JIRA install.

That is, the build number of the currently running installation files. The DB also stores a build number.

Returns:
the build number of this JIRA install.
See Also:
getDatabaseBuildNumber()

getDatabaseBuildNumber

int getDatabaseBuildNumber()
Gets the build number of the database that this JIRA instance points to.

Under normal circumstances this will be the same as the build number of the JIRA installation. However, when you first upgrade a JIRA database or import data exported from an older JIRA, the existing database will start on the previous build number. JIRA will then run "Upgrade Tasks" to update the data in the DB.

Returns:
the build number of the database that JIRA points to.
See Also:
getCurrentBuildNumber()

getMinimumUpgradableBuildNumber

String getMinimumUpgradableBuildNumber()
Gets the minimal build number that JIRA can upgrade from

Returns:
the minimal build number that JIRA can upgrade from

getCurrentBuildDate

Date getCurrentBuildDate()
Gets the date this version of JIRA was built on.

Returns:
the date this version of JIRA was built on

getBuildPartnerName

String getBuildPartnerName()
Gets the partner name of this JIRA build

Returns:
the partner name of this JIRA build.

getBuildInformation

String getBuildInformation()
Gets a build information summary as a String.

Returns:
a build information summary

getSvnRevision

String getSvnRevision()
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

Returns:
the SVN revision of this build of JIRA

getMinimumUpgradableVersion

String getMinimumUpgradableVersion()
Get the minimum version of JIRA that can be upgraded to this instance version.

Returns:
the minimum version that can be upgraded.

getUnavailableLocales

Collection<Locale> getUnavailableLocales()

getSalVersion

String getSalVersion()
Returns the version of Atlassian SAL that JIRA exports into OSGI-land.

Returns:
the version of Atlassian SAL that JIRA exports

getApplinksVersion

String getApplinksVersion()
Returns the version of AppLinks that JIRA ships with.

Returns:
the version of AppLinks that JIRA ships with


Copyright © 2002-2011 Atlassian. All Rights Reserved.