Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » [javadoc | source]
org.jboss
public final class: Version [javadoc | source]
java.lang.Object
   org.jboss.Version
Provides access to JBoss version (and build) properties.
Field Summary
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 from org.jboss.Version Summary:
getBuildDate,   getBuildID,   getBuildJVM,   getBuildNumber,   getBuildOS,   getCvsTag,   getInstance,   getMajor,   getMinor,   getName,   getProperties,   getProperty,   getRevision,   getTag,   getVersionNumber,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.Version Detail:
 public String getBuildDate() 
    Returns the build date for this version.
 public String getBuildID() 
    Returns the build identifier for this version.
 public String getBuildJVM() 
    Returns the BUILD_JVM_VERSION (BUILD_JVM_VENDOR) which should look like: 1.4.2_05-b04 (Sun Microsystems Inc.)
 public String getBuildNumber() 
    Returns the build number for this version.
 public 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)
 public String getCvsTag() 
    Returns the CVS tag of the version.
 public static Version getInstance() 
    Get the single Version instance.
 public int getMajor() 
    Returns the major number of the version.
 public int getMinor() 
    Returns the minor number of the version.
 public String getName() 
    Returns the name number of the version.
 public Map getProperties() 
    Returns an unmodifiable map of version properties.
 public String getProperty(String name) 
    Returns the value for the given property name.
 public int getRevision() 
    Returns the revision number of the version.
 public String getTag() 
    Returns the tag of the version.
 public String getVersionNumber() 
    Returns the full version number, e.g. 5.0.0.GA
 public String toString() 
    Returns the version information as a string.