ProjectState (Gradle API 4.5.1)
Date: 2018-02-05

org.gradle.api

## Interface ProjectState

-     public interface ProjectState

  `ProjectState` provides information about the execution state of a project.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getExecuted()` Returns true if this project has been evaluated.
    `Throwable` | `getFailure()` Returns the exception describing the project failure, if any.
    `void` | `rethrowFailure()` Throws the project failure, if any.

- - ### Method Detail

    - #### getExecuted

          boolean getExecuted()

      Returns true if this project has been evaluated.

      Returns:
        true if this project has been evaluated.

    - #### getFailure

          @Nullable
          Throwable getFailure()

      Returns the exception describing the project failure, if any.
      Returns:
        The exception, or null if project evaluation did not fail.

    - #### rethrowFailure

          void rethrowFailure()

      Throws the project failure, if any. Does nothing if the project did not fail.