gradle
8.5

# ProblemCategory

@Incubating
interface ProblemCategory(source)

A category is a component of a Problem that helps group related problems together. The category string is a ":" separated string that starts either with a specific problem category or with "gradle-plugin" and the plugin id where the problem is raised followed by the specific category.

     structure:
     <category>:<detailed-info>:<detailed-info>:...
     gradle-plugin:<plugin-id>:<category>:<detailed-info>:<detailed-info>:...

Content copied to clipboard

examples of valid category strings:

    deprecation
    gradle-plugin:deprecation
    gradle-plugin:deprecation:<detailed-info>
    gradle-plugin:deprecation:<detailed-info>:<detailed-info>:...

Content copied to clipboard

## Functions

getCategory
Link copied to clipboard
abstract fun getCategory(): String
getNamespace
Link copied to clipboard
abstract fun getNamespace(): String
getPluginId
Link copied to clipboard
abstract fun getPluginId(): String
getSubCategories
Link copied to clipboard
abstract fun getSubCategories(): List<String>
hasPluginId
Link copied to clipboard
abstract fun hasPluginId(): Boolean