public static enum OperatingSystemInfo.OS extends java.lang.Enum<OperatingSystemInfo.OS>
| Enum Constant and Description |
|---|
AIX |
HP_UX |
MAC |
OTHER |
POSIX_UNIX |
SOLARIS |
UNIX |
WINDOWS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVersion() |
void |
setVersion(java.lang.String version) |
static OperatingSystemInfo.OS |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperatingSystemInfo.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatingSystemInfo.OS WINDOWS
public static final OperatingSystemInfo.OS UNIX
public static final OperatingSystemInfo.OS AIX
public static final OperatingSystemInfo.OS HP_UX
public static final OperatingSystemInfo.OS SOLARIS
public static final OperatingSystemInfo.OS POSIX_UNIX
public static final OperatingSystemInfo.OS MAC
public static final OperatingSystemInfo.OS OTHER
public static OperatingSystemInfo.OS[] values()
for (OperatingSystemInfo.OS c : OperatingSystemInfo.OS.values()) System.out.println(c);
public static OperatingSystemInfo.OS valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getVersion()
public void setVersion(java.lang.String version)