org.rhq.plugins.platform
Class LinuxDistroInfo
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.