ProblemGroup (Gradle API 8.12)
Description: declaration: package: org.gradle.api.problems, interface: ProblemGroup

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

  Modifier and Type
  Method
  Description
  `String`
  `getDisplayName()`
  Returns a human-readable label describing the group.
  `String`
  `getName()`
  The name of the problem group.
  `ProblemGroup`
  `getParent()`
  Returns the parent group or `null` for root groups.

- ## Method Details

  - ### getName

    String getName()
    The name of the problem group.
    Since:
      8.8

  - ### getDisplayName

    String getDisplayName()
    Returns a human-readable label describing the group.
    Since:
      8.8

  - ### getParent

    @Nullable ProblemGroup getParent()
    Returns the parent group or `null` for root groups.
    Since:
      8.8