Package org.gradle.api.problems
Interface ProblemGroup
-
- All Known Implementing Classes:
SharedProblemGroup
@Incubating @Immutable public interface ProblemGroup
Represents a group of problems.Groups are organized in hierarchy where the parent group should represent the more broad problem group.
Two problem groups are considered equal if their
getName()
and their parents' are equal.- Since:
- 8.8
- See Also:
ProblemId
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDisplayName()
Returns a human-readable label describing the group.java.lang.String
getName()
The name of the problem group.ProblemGroup
getParent()
Returns the parent group ornull
for root groups.
-
-
-
Method Detail
-
getName
java.lang.String getName()
The name of the problem group.- Since:
- 8.8
-
getDisplayName
java.lang.String getDisplayName()
Returns a human-readable label describing the group.- Since:
- 8.8
-
getParent
@Nullable ProblemGroup getParent()
Returns the parent group ornull
for root groups.- Since:
- 8.8
-
-