org.rhq.plugins.platform
Class LinuxDistroInfo

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

public class LinuxDistroInfo
extends 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.
 String getName()
           
 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 String getName()

getVersion

public String getVersion()


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