| Enum Constant and Description |
|---|
X86_64_LINUX |
X86_64_OSX_64 |
X86_64_WINDOWS_64 |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
execExt
Executable extension, if applicable; empty string otherwise.
|
java.lang.String |
name
Name of the operating system and architecture.
|
| Modifier and Type | Method and Description |
|---|---|
static Either<java.lang.String,Arch> |
current()
Returns Right(Arch) if the OS is supported, Left(os) if otherwise.
|
static Arch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Arch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arch X86_64_LINUX
public static final Arch X86_64_OSX_64
public static final Arch X86_64_WINDOWS_64
public final java.lang.String name
public final java.lang.String execExt
public static Arch[] values()
for (Arch c : Arch.values()) System.out.println(c);
public static Arch 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 null