gradle
8.5

# create

abstract fun create(action: ProblemBuilderSpec): ReportableProblem(source)

Configures a new problem.

The method uses a stepwise builder pattern in the provided ProblemBuilderSpec, forcing the clients to define all mandatory fields in a specific order.

If all required fields are provided, the method creates and returns a new problem. Problems should be reported separately with report.

#### Return

a new problem