org.gradle.tooling.model.gradle

## Interface BuildInvocations

- All Superinterfaces:
    Model

      @Incubating
      public interface BuildInvocations
      extends Model

  A model providing access to `Launchable` instances that can be used to initiate Gradle build.

  To launch a build, you pass one or more `Launchable` instances to either `BuildLauncher.forTasks(Iterable)` or `BuildLauncher.forLaunchables(Iterable)`.

  Since:
    1.12

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `DomainObjectSet<? extends Task>` | `getTasks()` Returns the tasks that can be used to execute a build.
    `DomainObjectSet<? extends TaskSelector>` | `getTaskSelectors()` Returns tasks selectors that can be used to execute a build.

- - ### Method Detail

    - #### getTaskSelectors

          @Incubating
          DomainObjectSet<? extends TaskSelector> getTaskSelectors()

      Returns tasks selectors that can be used to execute a build. Selector is a `Launchable` that requests to build all tasks with a given name in context of some project and all its subprojects.
      Returns:
        The task selectors.
      Since:
        1.12

    - #### getTasks

          @Incubating
          DomainObjectSet<? extends Task> getTasks()

      Returns the tasks that can be used to execute a build.
      Returns:
        The tasks.
      Since:
        1.12