Configuration

Configuration of the Validator instance.

Can be used to adjust some behaviors of the validator, and the validations it performs.

Instantiate and adjust it with the Configuration { ... } factory function.

Types

Link copied to clipboard

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

Link copied to clipboard
object Companion

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
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String