api / org.gradle.tooling.events / FinishEvent

FinishEvent

interface FinishEvent : ProgressEvent

An event that informs about an operation having finished its execution.

Since
2.4

Functions

getResult

abstract fun getResult(): OperationResult

Returns the result of the finished operation.

Inherited Functions

getDescriptor

abstract fun getDescriptor(): OperationDescriptor

Returns the description of the operation for which progress is reported.

getDisplayName

abstract fun getDisplayName(): String

Returns a human consumable short description of the event.

getEventTime

abstract fun getEventTime(): Long

Returns the time this event was triggered.

Inheritors

TaskFinishEvent

interface TaskFinishEvent : TaskProgressEvent, FinishEvent

An event that informs about a task having finished its execution. You can query the result of the task using #getResult().

TestFinishEvent

interface TestFinishEvent : TestProgressEvent, FinishEvent

An event that informs about a test having finished its execution. You can query the result of the test using #getResult().