Package org.gradle.tooling.events

## Interface FailureResult

- All Superinterfaces:
    `OperationResult`
  All Known Subinterfaces:
    `ProjectConfigurationFailureResult`, `TaskFailureResult`, `TestFailureResult`, `TransformFailureResult`, `WorkItemFailureResult`

      public interface FailureResult
      extends OperationResult

  Describes how an operation finished with failures.
  Since:
    2.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<? extends Failure>` | `getFailures()` | Returns the failures that occurred while running the operation, if any.

    - ### Methods inherited from interface org.gradle.tooling.events.OperationResult

      `getEndTime, getStartTime`

- - ### Method Detail

    - #### getFailures

          java.util.List<? extends Failure> getFailures()

      Returns the failures that occurred while running the operation, if any.
      Returns:
        the failures, empty if the operation failed without any specific failure information.