|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.Version
public final class Version
Provides access to JBoss version (and build) properties.
Field Summary | |
---|---|
static String |
BUILD_DATE
|
static String |
BUILD_ID
|
static String |
BUILD_JVM_VENDOR
|
static String |
BUILD_JVM_VERSION
|
static String |
BUILD_NUMBER
|
static String |
BUILD_OS
|
static String |
BUILD_OS_ARCH
|
static String |
BUILD_OS_VERSION
|
static String |
VERSION_CVSTAG
|
static String |
VERSION_MAJOR
|
static String |
VERSION_MINOR
|
static String |
VERSION_NAME
|
static String |
VERSION_REVISION
|
static String |
VERSION_TAG
|
Method Summary | |
---|---|
String |
getBuildDate()
Returns the build date for this version. |
String |
getBuildID()
Returns the build identifier for this version. |
String |
getBuildJVM()
Returns the BUILD_JVM_VERSION (BUILD_JVM_VENDOR) which should look like: 1.4.2_05-b04 (Sun Microsystems Inc.) |
String |
getBuildNumber()
Returns the build number for this version. |
String |
getBuildOS()
Returns the BUILD_OS (BUILD_OS_ARCH,BUILD_OS_VERSION) which should look like: Windows XP (x86,5.1) Linux (i386,2.4.21-4.ELsmp) |
String |
getCvsTag()
Returns the CVS tag of the version. |
static Version |
getInstance()
Get the single Version instance. |
int |
getMajor()
Returns the major number of the version. |
int |
getMinor()
Returns the minor number of the version. |
String |
getName()
Returns the name number of the version. |
Map |
getProperties()
Returns an unmodifiable map of version properties. |
String |
getProperty(String name)
Returns the value for the given property name. |
int |
getRevision()
Returns the revision number of the version. |
String |
getTag()
Returns the tag of the version. |
String |
toString()
Returns the version information as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String VERSION_MAJOR
public static final String VERSION_MINOR
public static final String VERSION_REVISION
public static final String VERSION_TAG
public static final String VERSION_NAME
public static final String VERSION_CVSTAG
public static final String BUILD_NUMBER
public static final String BUILD_ID
public static final String BUILD_DATE
public static final String BUILD_JVM_VERSION
public static final String BUILD_JVM_VENDOR
public static final String BUILD_OS
public static final String BUILD_OS_ARCH
public static final String BUILD_OS_VERSION
Method Detail |
---|
public static Version getInstance()
public Map getProperties()
public String getProperty(String name)
name
- - The name of the property.
public int getMajor()
public int getMinor()
public int getRevision()
public String getTag()
public String getCvsTag()
public String getName()
public String getBuildID()
public String getBuildNumber()
public String getBuildDate()
public String getBuildJVM()
public String getBuildOS()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |