Class Validated.Invalid<T>
java.lang.Object
io.micrometer.core.instrument.config.validate.Validated.Invalid<T>
-
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, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Invalid
public Invalid(String property, @Nullable Object value, String message, InvalidReason reason, @Nullable Throwable exception)
-
-
Method Details
-
isValid
public boolean isValid() -
iterator
-
getMessage
-
getReason
-
getException
-
get
- Specified by:
get
in interfaceValidated<T>
- Throws:
ValidationException
-
orElseGet
- Specified by:
orElseGet
in interfaceValidated<T>
- Throws:
ValidationException
-
orThrow
- Specified by:
orThrow
in interfaceValidated<T>
- Throws:
ValidationException
-
map
-
flatMap
-
getProperty
-
getValue
-
toString
-