Class UndefinedProblemGroup
Undefined group that every root group, the Gradle
root group, and every sub-group has, for problems without an explicitly defined sub-group.
Problems can be reported into this group with problemId(String). This group can never have sub-groups: it exists
so that a problem can be reported without inventing a category, and a category below "undefined" would be a contradiction.
Not intended for subclassing outside of Gradle. New members may be added in future versions.
- Since:
- 9.9.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ProblemGroup
create, create, getDisplayName, getName, getParent
-
Constructor Details
-
UndefinedProblemGroup
protected UndefinedProblemGroup()Constructor.- Since:
- 9.9.0
-
-
Method Details
-
problemId
Creates a problem id in this group.Problem names should be a single, concise sentence describing the kind of problem, without contextual details such as file names or values; those belong in the contextual label, the details, and the locations of the reported problem. They must not be blank, must not have leading or trailing whitespace, must not contain control or format characters (other than the zero width joiner and non-joiner), and are limited to 2000 characters.
- Parameters:
name- the name of the problem- Returns:
- the problem id
- Throws:
IllegalArgumentException- if the name is invalid- Since:
- 9.9.0
-