Interface ProblemSummary


@Incubating public interface ProblemSummary
A problem summary.
Since:
8.12
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The number of distinct problems with this id that exceeded the threshold and were not sent as events.
    The problem id that exceeded the threshold for the number of allowed events, in a task or outside of tasks.
  • Method Details

    • getProblemId

      ProblemId getProblemId()
      The problem id that exceeded the threshold for the number of allowed events, in a task or outside of tasks.
      Since:
      8.12
    • getCount

      Integer getCount()
      The number of distinct problems with this id that exceeded the threshold and were not sent as events.

      Since Gradle 9.10.0, the threshold applies to each task, and problems reported outside a task share one threshold. This count adds up what all of them exceeded it by. The total number of distinct problems is the number of events received for this id plus this count. A problem counts once for each task that reports it.

      In earlier versions, the threshold applies to the whole build, so the total is threshold + count.

      Since:
      8.12