org.rhq.plugins.platform
Class LinuxDistroInfo

java.lang.Object
  extended by org.rhq.plugins.platform.LinuxDistroInfo

public class LinuxDistroInfo
extends java.lang.Object

Information identifying a Linux distribution (e.g. RHEL 4 Update 4, Ubuntu Edgy, etc.).

Author:
Ian Springer

Method Summary
static LinuxDistroInfo getInstance()
          Returns the Linux distro information for the platform this JVM is running on.
 java.lang.String getName()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static LinuxDistroInfo getInstance()
Returns the Linux distro information for the platform this JVM is running on.

Returns:
the Linux distro information for the platform this JVM is running on

getName

public java.lang.String getName()

getVersion

public java.lang.String getVersion()


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.