public static enum Platform.Architecture extends Enum<Platform.Architecture>
Naming convention based on os-maven-plugin.
| Enum Constant and Description |
|---|
ARM_32
ARM, 32-bit.
|
ARM_64
ARM, 64-bit.
|
UNSUPPORTED
CMake's website does not provide binaries for this
architecture.
|
X86_32
x86, 32-bit.
|
X86_64
x86, 64-bit.
|
| Modifier and Type | Method and Description |
|---|---|
static Platform.Architecture |
detected()
Returns the architecture of the detected operating system.
|
static String |
getDetectionProperty() |
static Platform.Architecture |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform.Architecture[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Platform.Architecture X86_32
public static final Platform.Architecture X86_64
public static final Platform.Architecture ARM_32
public static final Platform.Architecture ARM_64
public static final Platform.Architecture UNSUPPORTED
public static Platform.Architecture[] values()
for (Platform.Architecture c : Platform.Architecture.values()) System.out.println(c);
public static Platform.Architecture 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 static String getDetectionProperty()
public static Platform.Architecture detected()
Copyright © 2023. All rights reserved.