A predicate specifying the object under validation.
A predicate specifying the constraint being violated.
Retained for backwards compatibility; matches against the rendered description of the object being validated. See com.wix.accord.Descriptions.render for details of how descriptions are rendered into strings.
A predicate specifying the path to the object being validated.
A predicate specifying the constraint being violated.
Retained for backwards compatibility; matches against the rendered description of the object being validated.
Retained for backwards compatibility; matches against the rendered description of the object being validated. See com.wix.accord.Descriptions.render for details of how descriptions are rendered into strings.
A predicate specifying the path to the object being validated.
A predicate specifying the path to the object being validated.
A predicate specifying the object under validation.
A matcher over com.wix.accord.RuleViolations. To generate a violation rule "pattern", call the constructor with the required predicates, for example:
val firstNameNotEmpty = RuleViolationMatcher( description = Path( Generic( "firstName" ) ), constraint = "must not be empty" ) val validationResult: Result = ... validationResult must failWith( firstNameNotEmpty )
A predicate specifying the object under validation.
A predicate specifying the constraint being violated.
Retained for backwards compatibility; matches against the rendered description of the object being validated. See com.wix.accord.Descriptions.render for details of how descriptions are rendered into strings.
A predicate specifying the path to the object being validated.
com.wix.accord.RuleViolation