public class QpidProperties extends Object
To get the build version of any Qpid code call the main(java.lang.String[]) method. This version string is usually also
printed to the console on broker start up.
| Modifier and Type | Field and Description |
|---|---|
static String |
BUILD_VERSION_PROPERTY
Defines the name of the source code revision property.
|
static String |
PRODUCT_NAME_PROPERTY
Defines the name of the product property.
|
static String |
RELEASE_VERSION_PROPERTY
Defines the name of the version property.
|
static String |
RELEASE_VERSION_SUFFIX
Defines the name of the version suffix property.
|
static String |
VERSION_RESOURCE
The name of the version properties file to load from the class path.
|
| Constructor and Description |
|---|
QpidProperties() |
| Modifier and Type | Method and Description |
|---|---|
static Properties |
asProperties() |
static String |
getBuildVersion()
Gets the source code revision.
|
static String |
getProductName()
Gets the product name.
|
static String |
getReleaseVersion()
Gets the product version.
|
static String |
getVersionString()
Extracts all of the version information as a printable string.
|
static void |
main(String[] args)
Prints the versioning information to the console.
|
public static final String VERSION_RESOURCE
public static final String PRODUCT_NAME_PROPERTY
public static final String RELEASE_VERSION_PROPERTY
public static final String RELEASE_VERSION_SUFFIX
public static final String BUILD_VERSION_PROPERTY
public static Properties asProperties()
public static String getProductName()
public static String getReleaseVersion()
public static String getBuildVersion()
public static String getVersionString()
public static void main(String[] args)
args - Does not require any arguments.Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.