gradle
8.5

# BuildableProblemBuilder

@Incubating
interface BuildableProblemBuilder : ProblemBuilder(source)

Problem instance builder allowing the specification of all optional fields. This is the last interface in the builder chain. The order of steps can be traced from the Problems service interface. An example of how to use the builder:

     <problemService>.createProblemBuilder()
             .label("test problem")
             .undocumented()
             .noLocation()
             .cotegory("problemCategory")
             .severity(Severity.ERROR)
             .details("this is a test")

Content copied to clipboard

## Functions

additionalData
Link copied to clipboard
abstract fun additionalData(p: String, p1: String): ProblemBuilder
build
Link copied to clipboard
abstract fun build(): ReportableProblem
Creates the new problem.
details
Link copied to clipboard
abstract fun details(p: String): ProblemBuilder
severity
Link copied to clipboard
abstract fun severity(p: Severity): ProblemBuilder
solution
Link copied to clipboard
abstract fun solution(p: String): ProblemBuilder
withException
Link copied to clipboard
abstract fun withException(p: RuntimeException): ProblemBuilder