gradle
8.5

# 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.
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.
getException
Link copied to clipboard
@Nullable
abstract fun getException(): Throwable
The exception that caused the problem.
getLabel
Link copied to clipboard
abstract fun getLabel(): String
The label of the problem.
getLocations
Link copied to clipboard
abstract fun getLocations(): List<ProblemLocation>
Return the location data associated available for this problem.
getProblemCategory
Link copied to clipboard
abstract fun getProblemCategory(): ProblemCategory
Returns the problem category.
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.