Builder

class Builder

Fluent builder for Score, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun build(): Score
Link copied to clipboard

fun criteria(first: String, second: String, vararg rest: String): Score.Builder

Sets plain-text criteria, one per rubric level starting at 0; a score needs at least two.

Link copied to clipboard

fun instructions(instructions: String?): Score.Builder

Sets plain-text instructions, or clears them if null.