SecondLevelProblemGroup

A problem group directly below a RootProblemGroup, either predefined (for example Compilation > Java) or created through group.

Problems can be reported into this group with problemId. A third level of sub-groups can be created with group; see ThirdLevelProblemGroup.

Not intended for subclassing outside of Gradle. New members may be added in future versions.

Since

9.9.0

See also

Functions

Link copied to clipboard
open fun create(name: String, displayName: String): ProblemGroup
Creates a new root problem group i.e.
open fun create(name: String, displayName: String, @Nullable parent: @Nullable ProblemGroup): ProblemGroup
Creates a new problem group.
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-readable label describing the group.
Link copied to clipboard
abstract fun getName(): String
The name of the problem group.
Link copied to clipboard
@Nullable
abstract fun getParent(): @Nullable ProblemGroup
Returns the parent group or null for root groups.
Link copied to clipboard
The synthetic Undefined sub-group for problems without an explicitly defined sub-group below this group.
Link copied to clipboard
abstract fun group(name: String): ThirdLevelProblemGroup
Returns the third-level sub-group with the given name.
Link copied to clipboard
abstract fun problemId(name: String): ProblemId
Creates a problem id in this group.