UndefinedProblemGroup

The synthetic 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. 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

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
abstract fun problemId(name: String): ProblemId
Creates a problem id in this group.