# Interface TaskSelector

All Superinterfaces:
  `Launchable, ProjectModel`

public interface TaskSelector extends Launchable
Represents a `Launchable` that uses task name to select tasks executed from a given project and its sub-projects. This is roughly equivalent to running `gradle <task-name>` from the command-line.

Since:
  1.12

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  Returns the name that will be used to select tasks.

  ### Methods inherited from interface Launchable

  `getDescription, getDisplayName, getProjectIdentifier, isPublic`

- ## Method Details

  - ### getName

    String getName()
    Returns the name that will be used to select tasks.
    Returns:
      The name used by this selector.
    Since:
      1.12