org.gradle.platform.base

## Interface BinaryTasksCollection

- All Superinterfaces:
    Collection<Task>, DomainObjectCollection<Task>, DomainObjectSet<Task>, Iterable<Task>, Set<Task>
  All Known Subinterfaces:
    JvmBinaryTasks, NativeExecutableBinarySpec.TasksCollection, NativeTestSuiteBinarySpec.TasksCollection, SharedLibraryBinarySpec.TasksCollection, StaticLibraryBinarySpec.TasksCollection

      public interface BinaryTasksCollection
      extends DomainObjectSet<Task>

  A collection of tasks associated to a binary

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T extends Task> void` | `create(String name, Class<T> type, Action<? super T> config)`
    `Task` | `getBuild()` The 'lifecycle' task, that can be used to construct this binary.

    - ### Methods inherited from interface org.gradle.api.DomainObjectSet

      `findAll, matching, matching, withType`

    - ### Methods inherited from interface org.gradle.api.DomainObjectCollection

      `all, all, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType`

    - ### Methods inherited from interface java.util.Set

      `add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray`

- - ### Method Detail

    - #### getBuild

          Task getBuild()

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

    - #### create

          <T extends Task> void create(String name,
                                     Class<T> type,
                                     Action<? super T> config)