Package org.gradle.nativeplatform
Interface TargetMachineFactory
-
public interface TargetMachineFactoryA factory for creatingTargetMachineobjects.- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetMachineBuildergetLinux()Returns aTargetMachineBuilderfor the Linux operating system family and the architecture of the current host.TargetMachineBuildergetMacOS()Returns aTargetMachineBuilderfor the macOS operating system family and the architecture of the current host.TargetMachineBuildergetWindows()Returns aTargetMachineBuilderfor the Windows operating system family and the architecture of the current host.TargetMachineBuilderos(java.lang.String operatingSystemFamily)Returns aTargetMachineBuilderrepresenting the specified operating system and the architecture of the current host.
-
-
-
Method Detail
-
getWindows
TargetMachineBuilder getWindows()
Returns aTargetMachineBuilderfor the Windows operating system family and the architecture of the current host.
-
getLinux
TargetMachineBuilder getLinux()
Returns aTargetMachineBuilderfor the Linux operating system family and the architecture of the current host.
-
getMacOS
TargetMachineBuilder getMacOS()
Returns aTargetMachineBuilderfor the macOS operating system family and the architecture of the current host.
-
os
TargetMachineBuilder os(java.lang.String operatingSystemFamily)
Returns aTargetMachineBuilderrepresenting the specified operating system and the architecture of the current host.
-
-