public static enum ShellUtils.OSType extends Enum<ShellUtils.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 ShellUtils.OSType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShellUtils.OSType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShellUtils.OSType OS_TYPE_LINUX
public static final ShellUtils.OSType OS_TYPE_WIN
public static final ShellUtils.OSType OS_TYPE_SOLARIS
public static final ShellUtils.OSType OS_TYPE_MAC
public static final ShellUtils.OSType OS_TYPE_FREEBSD
public static final ShellUtils.OSType OS_TYPE_OTHER
public static ShellUtils.OSType[] values()
for (ShellUtils.OSType c : ShellUtils.OSType.values()) System.out.println(c);
public static ShellUtils.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 © 2019 The Apache Software Foundation. All rights reserved.