ProgressListener (Gradle API 2.14.1)

Package: org.gradle.tooling.events

## [Java] Interface ProgressListener

- A listener which is notified when operations that are executed as part of running a build make progress.

  See Also:
    LongRunningOperation.addProgressListener
    LongRunningOperation.addProgressListener
  Since:
    2.5

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `statusChanged(ProgressEvent event)` Called when the execution of an operation progresses.

- - ### Method Detail

    - #### public void statusChanged(ProgressEvent event)

      Called when the execution of an operation progresses. The following operation-specific events are currently issued:

      - TestStartEvent
      - TestFinishEvent
      - TaskStartEvent
      - TaskFinishEvent
      For all other operations, the following generic events are currently issued :
      - StartEvent
      - FinishEvent
      You can find out more about the operation for which progress is reported by querying the descriptor using ProgressEvent.getDescriptor.
      Parameters:
        `event` - An event describing the operation progress.
      See Also:
        TestProgressEvent
        TaskProgressEvent
        ProgressEvent