Package org.openrewrite
Class Validated.Secret
- java.lang.Object
-
- org.openrewrite.Validated.Valid
-
- org.openrewrite.Validated.Secret
-
- Enclosing interface:
- Validated
public static class Validated.Secret extends Validated.Valid
A specializationValidated.Validthat won't print the secret in plain text if the validation is serialized.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openrewrite.Validated
Validated.Both, Validated.Either, Validated.Invalid, Validated.Missing, Validated.None, Validated.Secret, Validated.Valid
-
-
Field Summary
-
Fields inherited from class org.openrewrite.Validated.Valid
property
-
-
Constructor Summary
Constructors Constructor Description Secret(java.lang.String property, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()-
Methods inherited from class org.openrewrite.Validated.Valid
getProperty, getValue, isValid, iterator
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classValidated.Valid
-
-