public enum TlsConfiguration extends Enum<TlsConfiguration>
| Modifier and Type | Method and Description |
|---|---|
static TlsConfiguration |
from(String s) |
String |
getValue() |
String |
toString() |
static TlsConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TlsConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlsConfiguration NONE
public static final TlsConfiguration SIMPLE
public static final TlsConfiguration EXTERNAL
public static TlsConfiguration[] values()
for (TlsConfiguration c : TlsConfiguration.values()) System.out.println(c);
public static TlsConfiguration 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 static TlsConfiguration from(String s)
public String getValue()
public String toString()
toString in class Enum<TlsConfiguration>Copyright © 2020. All rights reserved.