Constraint

class Constraint(val satisfied: Boolean, var validatable: Validatable<*>) : ConstraintDescriptor

Constructors

Link copied to clipboard
constructor(satisfied: Boolean, validatable: Validatable<*>)

Properties

Link copied to clipboard
open override var message: String
Link copied to clipboard
open override var path: Path
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun component1(): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this constraint.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
infix inline fun Constraint.otherwise(block: () -> String): Constraint
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
infix inline fun Constraint.withPath(block: PathBuilder.(Path) -> Path): Constraint