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 or BuildLauncher.forLaunchables.
Type | Name 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. |
ProjectIdentifier |
getProjectIdentifier() Returns the identifier for the Gradle project that this model originated from. |
boolean |
isPublic() Returns whether launchable is public or not. |
Returns the description of this launchable, or null
if it has no description.
null
if 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.
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.