ProblemDescriptor

Describes a problem operation.

The Problems API in an incubating stage and the associated classes are likely to change in a non-compatible way. Consequently, the Tooling API only exposes problem instances with dynamic data in json format without any guarantees.

Functions

Link copied to clipboard
Additional data associated with this problem.
Link copied to clipboard
Returns the problem category.
Link copied to clipboard
abstract fun getDetails(): Details
Returns the details string.
Link copied to clipboard
abstract fun getDisplayName(): String
Link copied to clipboard
Returns the link to the documentation
Link copied to clipboard
Returns the exception associated with this problem.
Link copied to clipboard
abstract fun getJson(): String
Mock for the problem properties in JSON format.
Link copied to clipboard
abstract fun getLabel(): Label
Returns the problem label.
Link copied to clipboard
abstract fun getLocations(): List<Location>
Returns the locations associated with this problem.
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
Link copied to clipboard
abstract fun getSeverity(): Severity
Returns the problem severity.
Link copied to clipboard
abstract fun getSolutions(): List<Solution>
Returns the list of solutions.