Class Validated.None<T>
java.lang.Object
io.micrometer.core.instrument.config.validate.Validated.None<T>
- Type Parameters:
T- A type that this validation is being coerced to or joined with in a list of validators.
public static class Validated.None<T> extends java.lang.Object implements Validated<T>
Indicates that no validation has occurred. None is considered "valid", effectively a no-op validation.
-
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
Constructors Constructor Description None() -
Method Summary
Modifier and Type Method Description <U> Validated<U>flatMap(java.util.function.BiFunction<T,Validated.Valid<T>,Validated<U>> mapping)Tget()booleanisValid()java.util.Iterator<Validated<T>>iterator()<U> Validated<U>map(java.util.function.Function<T,U> mapping)TorElseGet(java.util.function.Supplier<T> t)voidorThrow()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
None
public None()
-
-
Method Details