Package org.gradle.api.problems
Klasse ProblemGroup
java.lang.Object
org.gradle.api.problems.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.
- Seit:
- 8.8
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ProblemGroupCreates a new root problem i.e. a group with no parent.static ProblemGroupcreate(String name, String displayName, ProblemGroup parent) Creates a new problem group.abstract StringReturns a human-readable label describing the group.abstract StringgetName()The name of the problem group.abstract ProblemGroupReturns the parent group ornullfor root groups.
-
Konstruktordetails
-
ProblemGroup
protected ProblemGroup()Constructor.- Seit:
- 8.13
-
-
Methodendetails
-
getName
The name of the problem group.- Seit:
- 8.8
-
getDisplayName
Returns a human-readable label describing the group.- Seit:
- 8.8
-
getParent
Returns the parent group ornullfor root groups.- Seit:
- 8.8
-
create
Creates a new root problem i.e. a group with no parent.- Parameter:
name- the name of the group. The convention is to use kebab-case (ie lower case with hyphens).displayName- the user-friendly display name of the group- Gibt zurück:
- the new group
- Seit:
- 8.13
-
create
Creates a new problem group.- Parameter:
name- the name of the group. The convention is to use kebab-case (ie lower case with hyphens).displayName- the user-friendly display name of the groupparent- the parent group- Gibt zurück:
- the new group
- Seit:
- 8.13
-