Package | Description |
---|---|
com.atlassian.confluence.validation |
Modifier and Type | Method and Description |
---|---|
<A> Validation<A> |
Validation.applyValidation(Function<T,Validation<A>> f)
|
static <T> Validation<T> |
Validation.fail(ValidationResult fail) |
<A> Validation<A> |
Validation.flatMap(Function<T,Validation<A>> f)
Binds the given function across this validation's success value if it has one.
|
static <T> Validation<T> |
Validation.success(T success) |
Modifier and Type | Method and Description |
---|---|
<A> Validation<A> |
Validation.applyValidation(Function<T,Validation<A>> f)
|
<A> Validation<A> |
Validation.flatMap(Function<T,Validation<A>> f)
Binds the given function across this validation's success value if it has one.
|
Copyright © 2003–2018 Atlassian. All rights reserved.