java.io.Serializable, java.lang.Comparable<Shell.OSType>public static enum Shell.OSType extends java.lang.Enum<Shell.OSType>
| Enum Constant | Description |
|---|---|
OS_TYPE_FREEBSD |
|
OS_TYPE_LINUX |
|
OS_TYPE_MAC |
|
OS_TYPE_OTHER |
|
OS_TYPE_SOLARIS |
|
OS_TYPE_WIN |
| Modifier and Type | Method | Description |
|---|---|---|
static Shell.OSType |
valueOf(java.lang.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(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 nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.