BuildableProblemBuilder

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")
 

Functions

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