| Package | Description |
|---|---|
| fluent.validation | |
| fluent.validation.detail | |
| fluent.validation.evaluation |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CheckDsl.test(D data,
CheckVisitor checkVisitor) |
static <T> boolean |
Check.test(T data,
Check<? super T> check,
CheckVisitor checkVisitor) |
protected abstract boolean |
Check.test(T data,
CheckVisitor checkVisitor)
Evaluation of the condition on provided data, able to provide full detail of the evaluation using
provided detail collector.
|
static <T> void |
Check.that(T data,
Check<? super T> check,
CheckVisitor logger) |
protected static boolean |
Check.trace(CheckVisitor node,
Object actualValue,
boolean result)
Shortcut method, that traces current node detail, and returns result.
|
protected static boolean |
Check.trace(CheckVisitor checkVisitor,
String expectation,
Object actualValue,
boolean result)
Shortcut method, that traces current leaf detail, and returns result.
|
static <D> Check<D> |
Checks.transparent(CheckVisitor checkVisitor,
Check<D> check) |
| Modifier and Type | Class and Description |
|---|---|
class |
CheckVisitorDecorator |
class |
MismatchVisitor |
class |
NoVisitor |
| Modifier and Type | Field and Description |
|---|---|
static CheckVisitor |
CheckVisitor.NONE |
| Modifier and Type | Method and Description |
|---|---|
CheckVisitor |
MismatchVisitor.label(Check<?> name) |
CheckVisitor |
CheckVisitor.label(Check<?> check) |
CheckVisitor |
CheckVisitorDecorator.label(Check<?> check) |
CheckVisitor |
NoVisitor.label(Check<?> name) |
CheckVisitor |
MismatchVisitor.negative(Check<?> name) |
CheckVisitor |
CheckVisitor.negative(Check<?> check) |
CheckVisitor |
CheckVisitorDecorator.negative(Check<?> check) |
CheckVisitor |
NoVisitor.negative(Check<?> check) |
CheckVisitor |
MismatchVisitor.node(Check<?> name) |
CheckVisitor |
CheckVisitor.node(Check<?> check)
Notify, that this is a node, that will contain a subtree of the evaluation of children.
|
CheckVisitor |
CheckVisitorDecorator.node(Check<?> check) |
CheckVisitor |
NoVisitor.node(Check<?> nodeName) |
| Constructor and Description |
|---|
CheckVisitorDecorator(CheckVisitor visitor,
CheckVisitor decorator) |
| Modifier and Type | Method and Description |
|---|---|
CheckVisitor |
Context.logger() |
CheckVisitor |
SimpleContext.logger() |
| Modifier and Type | Method and Description |
|---|---|
void |
Conclusion.conclude(Boolean value,
Context context,
CheckVisitor logger) |
void |
Definition.conclude(Boolean value,
Context context,
CheckVisitor logger) |
void |
Statement.conclude(Boolean aBoolean,
Context context,
CheckVisitor logger) |
protected boolean |
Statement.test(Context data,
CheckVisitor checkVisitor) |
Copyright © 2018. All rights reserved.