Package org.gradle.tooling.events.task
Interface TaskFinishEvent
- All Superinterfaces:
FinishEvent
,ProgressEvent
,TaskProgressEvent
An event that informs about a task having finished its execution. You can query the result of the task using
getResult()
.- Since:
- 2.5
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of the finished task operation.Methods inherited from interface org.gradle.tooling.events.ProgressEvent
getDisplayName, getEventTime
Methods inherited from interface org.gradle.tooling.events.task.TaskProgressEvent
getDescriptor
-
Method Details
-
getResult
TaskOperationResult getResult()Returns the result of the finished task operation. Currently, the result will be one of the following sub-types:- Specified by:
getResult
in interfaceFinishEvent
- Returns:
- the result of the finished task operation
-