| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCheckDsl(Function<Check<D>,L> factory) |
protected |
AbstractCheckDsl(Check<? super D> check,
Function<Check<D>,L> factory) |
| Modifier and Type | Method and Description |
|---|---|
Result |
evaluate(D data,
ResultFactory factory)
Abstract method to delegate implementation of specific check logic to subclasses.
|
L |
or() |
String |
toString()
Enforce to implement toString() in every subclass.
|
L |
with(Check<? super D> check) |
<V> CheckBuilder<V,L> |
withField(String name,
Transformation<? super D,V> transformation) |
public <V> CheckBuilder<V,L> withField(String name, Transformation<? super D,V> transformation)
public L or()
public Result evaluate(D data, ResultFactory factory)
CheckCopyright © 2021. All rights reserved.