@NoImplement public interface ValueResult
values
.Modifier and Type | Method and Description |
---|---|
Optional<ResolvingFailure> |
getFailure() |
Set<Value> |
getValues() |
default boolean |
isSuccess() |
static ValueResult |
resultFrom(ResolvingFailure failure)
Creates a new
ValueResult with a failure result containing the associated failure |
static ValueResult |
resultFrom(Set<Value> values)
|
static ValueResult resultFrom(Set<Value> values)
values
- The resolved Set
of values
ValueResult
with the resolved values.static ValueResult resultFrom(ResolvingFailure failure)
ValueResult
with a failure result containing the associated failure
failure
- The generated failure occurred trying to resolve the values
ValueResult
with the ResolvingFailure
Optional<ResolvingFailure> getFailure()
default boolean isSuccess()
Copyright © 2018. All rights reserved.