org.rhq.enterprise.server.system
Class ServerVersion
java.lang.Object
org.rhq.enterprise.server.system.ServerVersion
- All Implemented Interfaces:
- Serializable
public class ServerVersion
- extends Object
- implements Serializable
Provides version information on the server itself.
- Author:
- John Mazzitelli
- See Also:
- Serialized Form
namespace
public static final String namespace
- See Also:
- Constant Field Values
ServerVersion
public ServerVersion(String version,
String build)
getNamespace
public static String getNamespace()
getVersion
public String getVersion()
- The version of the server, such as "1.0.0.GA".
- Returns:
- server version
getBuild
public 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 String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.