Package: org.gradle.nativebinaries

## [Java] Interface NativeBinaryTasks

- org.gradle.nativebinaries.NativeBinaryTasks

- All Superinterfaces:
    DomainObjectSet, Iterable, DomainObjectCollection, Collection

  Provides access to key tasks used for building the binary.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Task` | `getBuild()` The 'lifecycle' task, that can be used to construct this native binary.
    `ObjectFilesToBinary` | `getCreateOrLink()` The task that builds the binary out of object files: either the link task or create static library task as appropriate.
    `Task` | `getCreateStaticLib()` The create static library task if present.
    `Task` | `getLink()` The link task, if one is present.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface DomainObjectSet` | `findAll, matching, matching, withType`
    `interface DomainObjectCollection` | `all, all, findAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType, withType`
    `interface Set` | `add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll`

- - ### Method Detail

    - #### public Task getBuild()

      The 'lifecycle' task, that can be used to construct this native binary.

    - #### public ObjectFilesToBinary getCreateOrLink()

      The task that builds the binary out of object files: either the link task or create static library task as appropriate.

    - #### public Task getCreateStaticLib()

      The create static library task if present. Null otherwise.

    - #### public Task getLink()

      The link task, if one is present. Null otherwise.