api / org.gradle.tooling.events / StatusEvent

StatusEvent

interface StatusEvent : ProgressEvent

An event that informs about an interim results of the operation.

Since
3.5

Functions

getProgress

abstract fun getProgress(): Long

The amount of work already performed by the build operation.

getTotal

abstract fun getTotal(): Long

The total amount of work that the build operation is in the progress of performing, or -1 if not known.

getUnit

abstract fun getUnit(): String

The measure used to express the amount of work.

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.