Package org.gradle.tooling.model
Schnittstelle Task
- Alle Superschnittstellen:
Launchable,ProjectModel
- Alle bekannten Unterschnittstellen:
GradleTask
Represents a task which is executable by Gradle.
Note: Task extends Launchable since 1.12.
- Seit:
- 1.0-milestone-3
-
Methodenübersicht
Von Schnittstelle geerbte Methoden org.gradle.tooling.model.Launchable
getDisplayName, getProjectIdentifier, isPublic
-
Methodendetails
-
getPath
String getPath()Returns the path of this task. This is a fully qualified unique name for this task.- Gibt zurück:
- The path of this task.
- Seit:
- 1.0-milestone-3
-
getBuildTreePath
Returns the path of this task within the build tree. This is a unique name for this task within the composite build.- Gibt zurück:
- The path of this task in the composite build.
- Löst aus:
UnsupportedMethodException- When the target Gradle version does not support this method.- Seit:
- 8.2
-
getName
String getName()Returns the name of this task. Note that the name is not necessarily a unique identifier for the task.- Gibt zurück:
- The name of this task.
- Seit:
- 1.0-milestone-3
-
getDescription
Returns the description of this task, ornullif it has no description.- Angegeben von:
getDescriptionin SchnittstelleLaunchable- Gibt zurück:
- The description of this task, or
nullif it has no description. - Seit:
- 1.0-milestone-3
-
getGroup
Returns the group a task belongs to.- Gibt zurück:
- the group a task belongs to.
- Seit:
- 2.5
-