public static enum Shell.OSType extends Enum<Shell.OSType>
Enum Constant and Description |
---|
OS_TYPE_FREEBSD |
OS_TYPE_LINUX |
OS_TYPE_MAC |
OS_TYPE_OTHER |
OS_TYPE_SOLARIS |
OS_TYPE_WIN |
Modifier and Type | Method and Description |
---|---|
static Shell.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shell.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shell.OSType OS_TYPE_LINUX
public static final Shell.OSType OS_TYPE_WIN
public static final Shell.OSType OS_TYPE_SOLARIS
public static final Shell.OSType OS_TYPE_MAC
public static final Shell.OSType OS_TYPE_FREEBSD
public static final Shell.OSType OS_TYPE_OTHER
public static Shell.OSType[] values()
for (Shell.OSType c : Shell.OSType.values()) System.out.println(c);
public static Shell.OSType 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 nullCopyright © 2017 Apache Software Foundation. All Rights Reserved.