org.rhq.enterprise.server.system
Class ServerVersion

java.lang.Object
  extended by 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

Field Summary
static String namespace
           
 
Constructor Summary
ServerVersion(String version, String build)
           
 
Method Summary
 String getBuild()
          Identifies the specific build of the server; this is typically a source code control system revision number, such as "10934".
static String getNamespace()
           
 String getVersion()
          The version of the server, such as "1.0.0.GA".
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

namespace

public static final String namespace
See Also:
Constant Field Values
Constructor Detail

ServerVersion

public ServerVersion(String version,
                     String build)
Method Detail

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.