id

abstract fun id(name: String, displayName: String): ProblemSpec(source)

Defines simple identification for this problem.

It is a mandatory property to configure when emitting a problem with ProblemReporter..

Calling this method will set the reported problem group to generic

Return

this

Since

8.8

Parameters

name

the name of the problem. As a convention kebab-case-formatting should be used.

displayName

a human-readable representation of the problem, free of any contextual information.


abstract fun id(name: String, displayName: String, parent: ProblemGroup): ProblemSpec(source)

Defines simple identification for this problem.

It is a mandatory property to configure when emitting a problem with ProblemReporter.

Return

this

Since

8.8

Parameters

name

the name of the problem. As a convention kebab-case-formatting should be used.

displayName

a human-readable representation of the problem, free of any contextual information.

parent

the container problem group.