Class MachineArchitecture
java.lang.Object
org.gradle.nativeplatform.MachineArchitecture
- All Implemented Interfaces:
Named
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Attribute<MachineArchitecture> Of.static final StringThe ARM 64-bit architecturestatic final StringThe intel x86 32-bit architecturestatic final StringThe intel x86 64-bit architecture -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ARCHITECTURE_ATTRIBUTE
-
X86
-
X86_64
-
ARM64
-
-
Constructor Details
-
MachineArchitecture
public MachineArchitecture()
-
-
Method Details
-
getName
The object's name.Must be constant for the life of the object.
Implementations should not declare a
Object.toString()that returns anything other than this name. Gradle derives the name from this method wherever it needs one, but renders the object withtoString()in diagnostics, so the two disagreeing produces output that contradicts the behavior it describes. This is easy to miss on anenum, which inherits atoString()returningEnum.name().
-