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 valuesValueResult with the resolved values.static ValueResult resultFrom(ResolvingFailure failure)
ValueResult with a failure result containing the associated failurefailure - The generated failure occurred trying to resolve the valuesValueResult with the ResolvingFailureOptional<ResolvingFailure> getFailure()
default boolean isSuccess()
Copyright © 2017 MuleSoft, Inc.. All rights reserved.