| Package | Description |
|---|---|
| net.morimekta.providence.util |
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageValidation.PredicateExpectation<Value>
Check some value based on a simple predicate.
|
| Modifier and Type | Method and Description |
|---|---|
MessageValidation.Builder<M,E> |
MessageValidation.Builder.expect(MessageValidation.SimpleExpectation<M> expectation)
Make a specific expectation for the message.
|
<V> MessageValidation.Builder<M,E> |
MessageValidation.Builder.expectIfPresent(PField<M> field,
MessageValidation.SimpleExpectation<V> valueExpectation)
Given the field and type descriptor (which must match the field type),
build an inner validator to check the value of the field.
|
Copyright © 2015–2020 morimekta.net. All rights reserved.