create

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

Creates a new root problem group i.e. a group with no parent.

Return

the new group

Since

8.13

Parameters

name

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

displayName

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


open fun create(name: String, displayName: String, @Nullable parent: @Nullable ProblemGroup): ProblemGroup(source)

Creates a new problem group.

Return

the new group

Since

8.13

Parameters

name

the name of the group. 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 group. Cannot be blank (i.e., null, empty string, or only whitespaces).

parent

the parent group. May be null for root groups.