org.gradle.tooling.model

## Interface Launchable

- All Known Subinterfaces:
    GradleTask, Task, TaskSelector

      @Incubating
      public interface Launchable

  Represents an object that can be used to launch a Gradle build, such as a task.

  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
    --- | ---
    `String` | `getDescription()` Returns the description of this launchable, or `null` if it has no description.
    `String` | `getDisplayName()` Returns a human-consumable display name for this launchable.
    `boolean` | `isPublic()` Returns whether launchable is public or not.

- - ### Method Detail

    - #### getDisplayName

          String getDisplayName()

      Returns a human-consumable display name for this launchable.
      Returns:
        Display name of this launchable.
      Since:
        1.12

    - #### getDescription

          @Nullable
          String getDescription()

      Returns the description of this launchable, or `null` if it has no description.
      Returns:
        The description of this launchable, or `null` if it has no description.
      Since:
        1.12

    - #### isPublic

          boolean isPublic()

      Returns whether launchable is public or not. Public tasks are those that have non-null `group` property.
      Returns:
        Public property.
      Since:
        2.1