Builder

Builder of the Configuration instance provided by Configuration { ... } factory function.

Properties

Link copied to clipboard
open override var defaultViolationMessage: String

The default message for failed constraints.

Link copied to clipboard
open override var failOnFirstViolation: Boolean

Whether validations should fail immediately on the first constraint violation, or wait for all the constraints to execute.

Link copied to clipboard
open override var rootPath: Path

A root path prefixing all paths available in constraint violations.

Functions

Link copied to clipboard
fun rootPath(vararg pathSegments: String)

Defines the root path.