api / org.gradle.tooling.events / OperationResult

OperationResult

interface OperationResult

Describes the result of running an operation.

Since
2.4

Functions

getEndTime

abstract fun getEndTime(): Long

Returns the time when the operation finished its execution.

getStartTime

abstract fun getStartTime(): Long

Returns the time when the operation started its execution.

Inheritors

FailureResult

interface FailureResult : OperationResult

Describes how an operation finished with failures.

SkippedResult

interface SkippedResult : OperationResult

Describes how an operation was skipped.

SuccessResult

interface SuccessResult : OperationResult

Describes how an operation finished successfully.

TaskOperationResult

interface TaskOperationResult : OperationResult

Describes the result of running a task operation.

TestOperationResult

interface TestOperationResult : OperationResult

Describes the result of running a test operation.