public interface ValidationContext extends Iterable<ValidatorExecution>
ChainedValidator.| Modifier and Type | Method and Description |
|---|---|
ExitStatus |
getExitStatus()
Get the
ExitStatus of the validation |
void |
putValue(String name,
Object value)
Put a value in the context
|
<T> Optional<T> |
tryResolveValue(String name,
Class<T> expectedType)
Try to resolve a value its name.
|
forEach, iterator, spliterator<T> Optional<T> tryResolveValue(String name, Class<T> expectedType)
name - the name of the object storedOptional containg the resolved valuevoid putValue(String name, Object value)
name - the key used to store the valuevaule - the object to storeExitStatus getExitStatus()
ExitStatus of the validationExitStatusCopyright © 2018 Latitude Srls. All rights reserved.