ProblemSpec

Provides options to configure problems.

Since

8.6

See also

Functions

Link copied to clipboard
abstract fun contextualLabel(contextualLabel: String): ProblemSpec
Declares a short, but context-dependent message for this problem.
Link copied to clipboard
abstract fun details(details: String): ProblemSpec
The long description of this problem.
Link copied to clipboard
abstract fun documentedAt(url: String): ProblemSpec
Declares where this problem is documented.
Link copied to clipboard
abstract fun fileLocation(path: String): ProblemSpec
Declares that this problem is in a file.
Link copied to clipboard
abstract fun id(name: String, displayName: String): ProblemSpec
abstract fun id(name: String, displayName: String, parent: ProblemGroup): ProblemSpec
Defines simple identification for this problem.
Link copied to clipboard
abstract fun lineInFileLocation(path: String, line: Int): ProblemSpec
Declares that this problem is in a file on a line.
abstract fun lineInFileLocation(path: String, line: Int, column: Int): ProblemSpec
abstract fun lineInFileLocation(path: String, line: Int, column: Int, length: Int): ProblemSpec
Declares that this problem is in a file with on a line at a certain position.
Link copied to clipboard
abstract fun offsetInFileLocation(path: String, offset: Int, length: Int): ProblemSpec
Declares that this problem is in a file at a certain global position with a given length.
Link copied to clipboard
abstract fun severity(severity: Severity): ProblemSpec
Declares the severity of the problem.
Link copied to clipboard
abstract fun solution(solution: String): ProblemSpec
A description of how to solve this problem.
Link copied to clipboard
abstract fun stackLocation(): ProblemSpec
Declares that this problem should automatically collect the location information based on the current stack trace.
Link copied to clipboard
The exception causing this problem.