Describable
, Named
, Platform
public interface NativePlatform extends Platform, Describable
Architecture
and/or OperatingSystem
to target.
model { platforms { windows_x86 { architecture "i386" operatingSystem "windows" } } }
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
void |
architecture(java.lang.String name) |
Sets the cpu architecture being targeted.
|
Architecture |
getArchitecture() |
The cpu architecture being targeted.
|
OperatingSystem |
getOperatingSystem() |
The operating system being targeted.
|
void |
operatingSystem(java.lang.String name) |
Sets the operating system being targeted.
|
getDisplayName
getDisplayName, getName
Architecture getArchitecture()
void architecture(java.lang.String name)
The architecture is provided as a string name, which is translated into one of the supported architecture types.
Supported notations.
OperatingSystem getOperatingSystem()
void operatingSystem(java.lang.String name)
The operating system is provided as a string name, which is translated into one of the supported operating system types.
Supported notations.