create

open fun create(name: String, displayName: String, group: ProblemGroup): ProblemId(source)

Creates a new problem id.

Return

the new problem id

Since

8.13

Parameters

name

the name of the problem. The convention is to use kebab-case (ie lower case with hyphens). Cannot be blank (i.e., null, empty string, or only whitespaces).

displayName

the user-friendly display name of the problem. Cannot be blank (i.e., null, empty string, or only whitespaces).

group

the group to which the problem belongs. Cannot be null.