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 |
|
[Expand]
Inherited Methods |
From class
java.lang.Enum
final
Object
|
clone()
|
int
|
compareTo(Object arg0)
|
final
int
|
compareTo(E arg0)
|
final
boolean
|
equals(Object arg0)
|
final
void
|
finalize()
|
final
Class<E>
|
getDeclaringClass()
|
final
int
|
hashCode()
|
final
String
|
name()
|
final
int
|
ordinal()
|
String
|
toString()
|
static
<T extends Enum<T>>
T
|
valueOf(Class<T> arg0, String arg1)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.lang.Comparable
|
Enum Values
Constants
public
static
final
String
TIMESTMP_FMT
Constant Value:
"yyyy-MM-dd'T'HH:mm:ss.SSSZ"
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
Date
getBuildTimestamp
()
Returns
- the timestamp this version of Confluence was built
public
String
getBuildYear
()
Returns
- the year this version of Confluence was built
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.