public enum DefaultCustomSecret extends Enum<DefaultCustomSecret> implements CustomSecret
CustomSecret
Enum Constant and Description |
---|
THE_INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
getEncryptedValue(String plainTextPassword)
Gets the encrypted value.
|
String |
getPlainText(String encryptedPassword)
Gets the plain text.
|
static DefaultCustomSecret |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultCustomSecret[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultCustomSecret THE_INSTANCE
public static DefaultCustomSecret[] values()
for (DefaultCustomSecret c : DefaultCustomSecret.values()) System.out.println(c);
public static DefaultCustomSecret valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getEncryptedValue(String plainTextPassword)
CustomSecret
getEncryptedValue
in interface CustomSecret
plainTextPassword
- the plain text passwordpublic String getPlainText(String encryptedPassword)
CustomSecret
getPlainText
in interface CustomSecret
encryptedPassword
- the encrypted passwordCopyright © 2018–2022 Agiletestware. All rights reserved.