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