api / org.gradle.tooling.events / FailureResult

FailureResult

interface FailureResult : OperationResult

Describes how an operation finished with failures.

Since
2.4

Functions

getFailures

abstract fun getFailures(): MutableList<out Failure>

Returns the failures that occurred while running the operation, if any.

Inherited 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

TaskFailureResult

interface TaskFailureResult : TaskOperationResult, FailureResult

Describes how a task operation finished with failures.

TestFailureResult

interface TestFailureResult : TestOperationResult, FailureResult

Describes how a test operation finished with failures.