| Package | Description |
|---|---|
| at.meks.validation | |
| at.meks.validation.result | |
| at.meks.validation.validations.list | |
| at.meks.validation.validations.number |
| Modifier and Type | Method and Description |
|---|---|
static <K> SimpleValidation<K> |
SimpleValidation.from(java.util.function.Predicate<K> predicate,
java.util.function.Supplier<ErrorDescription> onErrorMessage) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDescription |
ErrorDescriptionBuilder.withCode(String message,
String code)
creates a
ErrorDescription where the message and the code are set. |
static ErrorDescription |
ErrorDescriptionBuilder.withMessage(String message)
creates a
ErrorDescription where only the message is set. |
| Modifier and Type | Method and Description |
|---|---|
static ValidationResult |
ValidationResult.fail(ErrorDescription onErrorMessage) |
| Modifier and Type | Method and Description |
|---|---|
static <X> SimpleListValidation<X> |
SimpleListValidation.forList(java.util.function.Predicate<List<X>> predicate,
ErrorDescription errorDescription) |
| Modifier and Type | Method and Description |
|---|---|
static <X> SimpleListValidation<X> |
SimpleListValidation.forList(java.util.function.Predicate<List<X>> predicate,
java.util.function.Supplier<ErrorDescription> errorDescription) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Number> |
CoreNumberValidations.isByte(ErrorDescription errorDescription) |
<T extends Number> |
CoreNumberValidations.isInt(ErrorDescription errorDescription) |
<T extends Number> |
CoreNumberValidations.isShort(ErrorDescription errorDescription) |
Copyright © 2018. All rights reserved.