TargetMachineFactory (Gradle API 8.11.1)

Package org.gradle.nativeplatform

## Interface TargetMachineFactory

-     public interface TargetMachineFactory

  A factory for creating `TargetMachine` objects.
  Since:
    5.1

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TargetMachineBuilder` | `getLinux()` | Returns a `TargetMachineBuilder` for the Linux operating system family and the architecture of the current host.
    `TargetMachineBuilder` | `getMacOS()` | Returns a `TargetMachineBuilder` for the macOS operating system family and the architecture of the current host.
    `TargetMachineBuilder` | `getWindows()` | Returns a `TargetMachineBuilder` for the Windows operating system family and the architecture of the current host.
    `TargetMachineBuilder` | `os​(java.lang.String operatingSystemFamily)` | Returns a `TargetMachineBuilder` representing the specified operating system and the architecture of the current host.

- - ### Method Detail

    - #### getWindows

          TargetMachineBuilder getWindows()

      Returns a `TargetMachineBuilder` for the Windows operating system family and the architecture of the current host.

    - #### getLinux

          TargetMachineBuilder getLinux()

      Returns a `TargetMachineBuilder` for the Linux operating system family and the architecture of the current host.

    - #### getMacOS

          TargetMachineBuilder getMacOS()

      Returns a `TargetMachineBuilder` for the macOS operating system family and the architecture of the current host.

    - #### os

          TargetMachineBuilder os​(java.lang.String operatingSystemFamily)

      Returns a `TargetMachineBuilder` representing the specified operating system and the architecture of the current host.