Package io.github.toolfactory.narcissus
Enum LibraryLoader.OperatingSystem
- java.lang.Object
-
- java.lang.Enum<LibraryLoader.OperatingSystem>
-
- io.github.toolfactory.narcissus.LibraryLoader.OperatingSystem
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LibraryLoader.OperatingSystem>
- Enclosing class:
- LibraryLoader
static enum LibraryLoader.OperatingSystem extends java.lang.Enum<LibraryLoader.OperatingSystem>
The operating system type.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
OperatingSystem()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LibraryLoader.OperatingSystem
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LibraryLoader.OperatingSystem[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Windows
public static final LibraryLoader.OperatingSystem Windows
Windows.
-
MacOSX
public static final LibraryLoader.OperatingSystem MacOSX
Mac OS X.
-
Linux
public static final LibraryLoader.OperatingSystem Linux
Linux.
-
Solaris
public static final LibraryLoader.OperatingSystem Solaris
Solaris.
-
BSD
public static final LibraryLoader.OperatingSystem BSD
BSD.
-
Unix
public static final LibraryLoader.OperatingSystem Unix
Unix or AIX.
-
Unknown
public static final LibraryLoader.OperatingSystem Unknown
Unknown.
-
-
Method Detail
-
values
public static LibraryLoader.OperatingSystem[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LibraryLoader.OperatingSystem c : LibraryLoader.OperatingSystem.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LibraryLoader.OperatingSystem valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-