Package org.gradle.api.problems

## Interface ProblemBuilderDefiningCategory

-     @Incubating
      public interface ProblemBuilderDefiningCategory

  `Problem` instance builder requiring the specification of the problem category.
  Since:
    8.5

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ProblemBuilder` | `category​(java.lang.String category, java.lang.String... details)` | Declares the problem category.

- - ### Method Detail

    - #### category

          ProblemBuilder category​(java.lang.String category,
                                  java.lang.String... details)

      Declares the problem category. It offers a hierarchical categorization with arbitrary details. Clients must declare a main category string. Freeform with the following conventions and limitations. Subcategories can be optionally specified with arbitrary details. The same conventions and limitations apply. When a problem is created (with BuildableProblemBuilder.build()) the category can be obtained with `Problem`. The `ProblemCategory` then represents a local category with some namespace, distinguishing built-in and third-party categories. Example: `category("validation", "missing-input")`
      Parameters:
        `category` - the type name
        `details` - the type details
      Returns:
        the builder for the next required property
      See Also:
        `ProblemCategory`