public static enum InternalResource.OS extends Enum<InternalResource.OS>
Enum.EnumDesc<E extends Enum<E>>| Enum Constant and Description |
|---|
DARWIN
The macOS operating system.
|
LINUX
The Linux operating system.
|
WINDOWS
The Windows operating system.
|
| Modifier and Type | Method and Description |
|---|---|
static InternalResource.OS |
getCurrent()
Returns the current operating system.
|
String |
toString()
Returns the string representing operating system name.
|
static InternalResource.OS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalResource.OS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOfpublic static final InternalResource.OS DARWIN
public static final InternalResource.OS LINUX
public static final InternalResource.OS WINDOWS
public static InternalResource.OS[] values()
public static InternalResource.OS 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<InternalResource.OS>public static InternalResource.OS getCurrent()