gradle
8.6

# ProblemAggregation

@Incubating
interface ProblemAggregation(source)

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.

## Functions

getCategory
Link copied to clipboard
abstract fun getCategory(): ProblemCategory
Returns the problem category that is common for all aggregated problems.
getLabel
Link copied to clipboard
abstract fun getLabel(): Label
Returns the problem label that is common for all aggregated problems.
getProblemDescriptors
Link copied to clipboard
abstract fun getProblemDescriptors(): List<ProblemDescriptor>
The list of aggregated problems.