Package org.gradle.tooling.events.task
Interface TaskFinishEvent
-
- All Superinterfaces:
FinishEvent
,ProgressEvent
,TaskProgressEvent
public interface TaskFinishEvent extends TaskProgressEvent, FinishEvent
An event that informs about a task having finished its execution. You can query the result of the task usinggetResult()
.- Since:
- 2.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskOperationResult
getResult()
Returns 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 Detail
-
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
-
-