Package org.gradle.tooling.model
Schnittstelle Launchable
- Alle Superschnittstellen:
ProjectModel
- Alle bekannten Unterschnittstellen:
GradleTask,Task,TaskSelector
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).
- Seit:
- 1.12
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the description of this launchable, ornullif it has no description.Returns a human-consumable display name for this launchable.Returns the identifier for the Gradle project that this model originated from.booleanisPublic()Returns whether launchable is public or not.
-
Methodendetails
-
getProjectIdentifier
ProjectIdentifier getProjectIdentifier()Returns the identifier for the Gradle project that this model originated from.- Angegeben von:
getProjectIdentifierin SchnittstelleProjectModel- Seit:
- 2.13
-
getDisplayName
String getDisplayName()Returns a human-consumable display name for this launchable.- Gibt zurück:
- Display name of this launchable.
- Seit:
- 1.12
-
getDescription
Returns the description of this launchable, ornullif it has no description.- Gibt zurück:
- The description of this launchable, or
nullif it has no description. - Seit:
- 1.12
-
isPublic
boolean isPublic()Returns whether launchable is public or not. A public launchable is one that is considered a public 'entry point' to the build, that is interesting for an end user of the build to run.- Gibt zurück:
- Public property.
- Seit:
- 2.1
-