Package org.gradle.tooling.events.problems

## Interface ProblemAggregation

-     @Incubating
      public interface ProblemAggregation

  Represents a list of aggregated problems. These are sent at the end of the build. All Problems that occurred more than once during the build are aggregated and sent as a `ProblemAggregation`. They won't be sent in between the build only the first one. The aggregation happens based on the `ProblemCategory` and `Label`. Therefore, the `ProblemCategory` and `Label` are the same for all aggregated problems and are also present in the this aggregation interface.
  Since:
    8.6

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProblemCategory` | `getCategory()` | Returns the problem category that is common for all aggregated problems.
    `Label` | `getLabel()` | Returns the problem label that is common for all aggregated problems.
    `java.util.List<ProblemDescriptor>` | `getProblemDescriptors()` | The list of aggregated problems.

- - ### Method Detail

    - #### getCategory

          ProblemCategory getCategory()

      Returns the problem category that is common for all aggregated problems.
      Returns:
        the problem category
      Since:
        8.6

    - #### getLabel

          Label getLabel()

      Returns the problem label that is common for all aggregated problems.
      Returns:
        the problem label
      Since:
        8.6

    - #### getProblemDescriptors

          java.util.List<ProblemDescriptor> getProblemDescriptors()

      The list of aggregated problems.
      Returns:
        The list of aggregated problems.
      Since:
        8.6