TaskActionListener (Gradle API 2.14.1)
Date: 2016-07-18

Package: org.gradle.api.execution

## [Java] Interface TaskActionListener

- A `TaskWorkListener` is notified of the actions that a task performs.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `afterActions(Task task)` This method is called immediately after the task has completed performing its actions.
    `void` | `beforeActions(Task task)` This method is called immediately before the task starts performing its actions.

- - ### Method Detail

    - #### public void afterActions(Task task)

      This method is called immediately after the task has completed performing its actions.

      Parameters:
        `task` - The task which has performed some actions.

    - #### public void beforeActions(Task task)

      This method is called immediately before the task starts performing its actions.

      Parameters:
        `task` - The task which is to perform some actions.