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 aProblemAggregation
. They won't be sent in between the build only the first one.- 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.DocumentationLink
getDocumentationLink()
Returns the link to the documentationLabel
getLabel()
Returns the problem label that is common for all aggregated problems.java.util.List<ProblemContext>
getProblemContext()
The list of aggregated problems.Severity
getSeverity()
Returns the problem severity.
-
-
-
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
-
getSeverity
Severity getSeverity()
Returns the problem severity.- Returns:
- the problem severity
- Since:
- 8.8
-
getDocumentationLink
@Nullable DocumentationLink getDocumentationLink()
Returns the link to the documentation- Returns:
- the locations
- Since:
- 8.8
-
getProblemContext
java.util.List<ProblemContext> getProblemContext()
The list of aggregated problems.- Returns:
- The list of aggregated problems.
- Since:
- 8.8
-
-