Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api
Interface ProjectEvaluationListener

    public interface ProjectEvaluationListener

An `ProjectEvaluationListener` is notified when a project is evaluated. You add can add an `ProjectEvaluationListener` to a `Gradle` using `Gradle.addProjectEvaluationListener(ProjectEvaluationListener)`.

Method Summary
`void` | `afterEvaluate(Project project, ProjectState state)` This method is called when a project has been evaluated, and before the evaluated project is made available to other projects.
`void` | `beforeEvaluate(Project project)` This method is called immediately before a project is evaluated.

Method Detail

### beforeEvaluate

    void beforeEvaluate(Project project)

  This method is called immediately before a project is evaluated.

  Parameters:
    `project` - The which is to be evaluated. Never null.

### afterEvaluate

    void afterEvaluate(Project project,
                       ProjectState state)

  This method is called when a project has been evaluated, and before the evaluated project is made available to other projects.

  Parameters:
    `project` - The project which was evaluated. Never null.
    `state` - The project evaluation state. If project evaluation failed, the exception is available in this state. Never null.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD