public final enum

BuildInformation

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.confluence.setup.BuildInformation

Class Overview

Singleton which provides build and version information for the Confluence application. Configuration is read from "com/atlassian/confluence/default.properties" on the classpath.

Note that the build number in the application's home directory or database may differ from the version of the application at various times. This object only represents the build information of the application itself.

Summary

Enum Values
BuildInformation  INSTANCE   
Public Methods
String getBambooBuildNumber()
Date getBuildDate()
String getBuildExcludedLocale()
String getBuildNumber()
String getBuildPartner()
String getRevisionNumber()
String getVersionNumber()
String toString()
static BuildInformation valueOf(String name)
final static BuildInformation[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final BuildInformation INSTANCE

Public Methods

public String getBambooBuildNumber ()

Returns
  • Returns the bamboo build number if this instance has been build with bamboo.

public Date getBuildDate ()

Returns
  • the date this version of Confluence was built

public String getBuildExcludedLocale ()

Returns
  • the locales of language packs which cannot be used with this release of Confluence due to partner licensing agreements, or null if this is not a partner-specific build of Confluence

public String getBuildNumber ()

Returns
  • a unique number for each release of Confluence. Used primarily to manage the execution of upgrade tasks. May be a value like '@BUILD_NUMBER@' during development.

public String getBuildPartner ()

Returns
  • the partner this release of Confluence was built for, or null if this is not a partner-specific build of Confluence

public String getRevisionNumber ()

Returns
  • the internal revision number of the code in Confluence's source control system, or null if the revision number is not available.

public String getVersionNumber ()

Returns
  • the version number of this release of Confluence. Components are generally separated by either dots or dashes. Pre-release versions include letters as well as numbers. Sample release versions: 2.0, 2.8.2. Sample pre-release versions: 3.0-SNAPSHOT, 2.9-m4, 2.10-rc1.

public String toString ()

public static BuildInformation valueOf (String name)

public static final BuildInformation[] values ()