# TaskSelector

interface TaskSelector : Launchable(source)

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 ` from the command-line.

#### Since

1.12

## Functions

getDescription
Link copied to clipboard
@Nullable
abstract fun getDescription(): @Nullable String
Returns the description of this launchable, or `null` if it has no description.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this launchable.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name that will be used to select tasks.
getProjectIdentifier
Link copied to clipboard
abstract fun getProjectIdentifier(): ProjectIdentifier
Returns the identifier for the Gradle project that this model originated from.
isPublic
Link copied to clipboard
abstract fun isPublic(): Boolean
Returns whether launchable is public or not.