Enum Class NativeVariant
- All Implemented Interfaces:
Serializable,Comparable<NativeVariant>,Constable
Wraps objects for native variant constituents (OS + ARCH={CPU + INSTRUCT_SET} + VM).
Use the following list to build your platform predicates:
- x86: 32-bit x86 architecture
- x86_64: 64-bit x86 architecture, often referred to as amd64
- amd64: Another name for x86_64
- i386: Another designation for 32-bit x86 architecture
- arm: ARM architecture
- aarch64: 64-bit ARM architecture
- sparc: SPARC architecture
- sparcv9: 64-bit SPARC architecture
- ppc: PowerPC architecture
- ppc64: 64-bit PowerPC architecture
- ppc64le: 64-bit PowerPC architecture, little-endian
- s390: IBM System/390 architecture
- s390x: 64-bit IBM System/390 architecture
- riscv32: 32-bit RISC-V architecture
- riscv64: 64-bit RISC-V architecture
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA namespace class exposing the CPU propositions.static final classA namespace class exposing the Operating System Propositions.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the data of this native variant property.static NativeVariantReturns the enum constant of this class with the specified name.static NativeVariant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OS_NAME
The Operating system name property for this variant. -
OS_ARCH
The Operating system architecture. -
JVM
The current java virtual machine.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getProperty
Retrieves the data of this native variant property.- Returns:
- the specified property object in a string format.
-