FailedModelResult (Gradle API 2.14.1)

org.gradle.tooling.connection

## Interface FailedModelResult<T>

- Type Parameters:
    `T` - Type of model in the result
  All Superinterfaces:
    ModelResult<T>

      @Incubating
      public interface FailedModelResult<T>
      extends ModelResult<T>

  The result of a failed model request.
  Since:
    2.13

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BuildIdentifier` | `getBuildIdentifier()` Identifier of the build that originated this failure.
    `ProjectIdentifier` | `getProjectIdentifier()` Identifier of the project that originated this failure, if any.

    - ### Methods inherited from interface org.gradle.tooling.connection.ModelResult

      `getFailure, getModel`

- - ### Method Detail

    - #### getBuildIdentifier

          BuildIdentifier getBuildIdentifier()

      Identifier of the build that originated this failure.
      Returns:
        the build identifier, never null.

    - #### getProjectIdentifier

          @Nullable
          ProjectIdentifier getProjectIdentifier()

      Identifier of the project that originated this failure, if any.
      Returns:
        the project identifier, or null if this failure did not originate from a particular project.