api / org.gradle.tooling.events.task / TaskProgressEvent

TaskProgressEvent

interface TaskProgressEvent : ProgressEvent

Root interface for all events that signal progress while executing a task.

Since
2.5

Functions

getDescriptor

abstract fun getDescriptor(): TaskOperationDescriptor

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

Inherited Functions

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().

TaskStartEvent

interface TaskStartEvent : TaskProgressEvent, StartEvent

An event that informs about a task having started its execution.