ProjectModel
GradleTask
, Task
, TaskSelector
public interface Launchable extends ProjectModel
To launch a build, you pass one or more Launchable
instances
to either BuildLauncher.forTasks(Iterable)
or BuildLauncher.forLaunchables(Iterable)
.
Modifier and Type | Method | 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.
|
ProjectIdentifier getProjectIdentifier()
getProjectIdentifier
in interface ProjectModel
String getDisplayName()
@Nullable String getDescription()
null
if it has no description.null
if it has no description.boolean isPublic()