Package dev.gradleplugins.runnerkit
Interface BuildTask
-
public interface BuildTaskA task that was executed when running a specific build.- See Also:
BuildResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskOutcomegetOutcome()The outcome of attempting to execute this task.java.lang.StringgetOutput()The plain output of the task during the build.java.lang.StringgetPath()The unique path of the task.
-
-
-
Method Detail
-
getPath
java.lang.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.
- Returns:
- the task path
-
getOutcome
TaskOutcome getOutcome()
The outcome of attempting to execute this task.- Returns:
- the task outcome
-
getOutput
java.lang.String getOutput()
The plain output of the task during the build.- Returns:
- the task output during the build.
-
-