public static enum Platform.OS_TYPE extends Enum<Platform.OS_TYPE>
Enum Constant and Description |
---|
AIX |
DARWIN |
FREEBSD |
LINUX |
NETBSD |
OPENBSD |
SOLARIS |
UNKNOWN |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Platform.OS_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.OS_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.OS_TYPE DARWIN
public static final Platform.OS_TYPE FREEBSD
public static final Platform.OS_TYPE NETBSD
public static final Platform.OS_TYPE OPENBSD
public static final Platform.OS_TYPE LINUX
public static final Platform.OS_TYPE SOLARIS
public static final Platform.OS_TYPE AIX
public static final Platform.OS_TYPE WINDOWS
public static final Platform.OS_TYPE UNKNOWN
public static Platform.OS_TYPE[] values()
for (Platform.OS_TYPE c : Platform.OS_TYPE.values()) System.out.println(c);
public static Platform.OS_TYPE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Platform.OS_TYPE>
Copyright © 2001–2016 JRuby. All rights reserved.