Class Validated.Either
java.lang.Object
io.micrometer.core.instrument.config.validate.Validated.Either
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.config.validate.Validated
Validated.Either, Validated.Invalid<T>, Validated.None<T>, Validated.Secret, Validated.Valid<T>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Either
-
-
Method Details
-
isValid
public boolean isValid() -
get
-
orElseGet
- Specified by:
orElseGet
in interfaceValidated<Object>
- Throws:
ValidationException
-
orThrow
- Specified by:
orThrow
in interfaceValidated<Object>
- Throws:
ValidationException
-
map
-
flatMap
-
iterator
-