org.rhq.enterprise.server.system
Class ServerVersion
java.lang.Object
org.rhq.enterprise.server.system.ServerVersion
- All Implemented Interfaces:
- java.io.Serializable
public class ServerVersion
- extends java.lang.Object
- implements java.io.Serializable
Provides version information on the server itself.
- Author:
- John Mazzitelli
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
namespace
|
|
Constructor Summary |
ServerVersion(java.lang.String version,
java.lang.String build)
|
|
Method Summary |
java.lang.String |
getBuild()
Identifies the specific build of the server; this is typically
a source code control system revision number, such as "10934". |
static java.lang.String |
getNamespace()
|
java.lang.String |
getVersion()
The version of the server, such as "1.0.0.GA". |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
namespace
public static final java.lang.String namespace
- See Also:
- Constant Field Values
ServerVersion
public ServerVersion(java.lang.String version,
java.lang.String build)
getNamespace
public static java.lang.String getNamespace()
getVersion
public java.lang.String getVersion()
- The version of the server, such as "1.0.0.GA".
- Returns:
- server version
getBuild
public java.lang.String getBuild()
- Identifies the specific build of the server; this is typically
a source code control system revision number, such as "10934".
- Returns:
- server build
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.