gradle
8.4

# Problem

@Incubating
interface Problem(source)

Interface for describing structured information about a problem.

#### Inheritors

ReportableProblem

## Functions

getAdditionalData
Link copied to clipboard
abstract fun getAdditionalData(): Map<String, String>
Additional Data about the problem.
getCause
Link copied to clipboard
@Nullable
abstract fun getCause(): Throwable
The exception that caused the problem.
getDetails
Link copied to clipboard
@Nullable
abstract fun getDetails(): String
A long description detailing the problem.
getDocumentationLink
Link copied to clipboard
@Nullable
abstract fun getDocumentationLink(): DocLink
A link to the documentation for this problem.
getLabel
Link copied to clipboard
abstract fun getLabel(): String
The label of the problem.
getProblemGroup
Link copied to clipboard
abstract fun getProblemGroup(): ProblemGroup
Returns the problem group.
getProblemType
Link copied to clipboard
abstract fun getProblemType(): String
Returns the problem type.
getSeverity
Link copied to clipboard
abstract fun getSeverity(): Severity
Problem severity.
getSolutions
Link copied to clipboard
abstract fun getSolutions(): List<String>
A list of possible solutions the user can try to fix the problem.
getWhere
Link copied to clipboard
@Nullable
abstract fun getWhere(): ProblemLocation