Package org.gradle.testkit.runner
Schnittstelle BuildTask
public interface BuildTask
A task that was executed when running a specific build.
- Seit:
- 2.6
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe outcome of attempting to execute this task.getPath()The unique path of the task.
-
Methodendetails
-
getPath
String getPath()The unique path of the task.The task path is a combination of its enclosing project's path and its name. For example, in multi project build the
bartask of thefooproject has a path of:foo:bar. In a single project build, thebartask of the lone project has a path of:bar.This value corresponds to the value output by Gradle for the task during its normal progress logging.
- Gibt zurück:
- the task path
-
getOutcome
TaskOutcome getOutcome()The outcome of attempting to execute this task.- Gibt zurück:
- the task outcome
-