public static enum PreferredConnection.Type extends Enum<PreferredConnection.Type>
Enum Constant and Description |
---|
LDAP
LDAP connection.
|
LDAPS
LDAPS connection.
|
START_TLS
Start TLS connection.
|
Modifier and Type | Method and Description |
---|---|
static PreferredConnection.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreferredConnection.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreferredConnection.Type LDAP
public static final PreferredConnection.Type LDAPS
public static final PreferredConnection.Type START_TLS
public static PreferredConnection.Type[] values()
for (PreferredConnection.Type c : PreferredConnection.Type.values()) System.out.println(c);
public static PreferredConnection.Type 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 nullCopyright 2010-2017 ForgeRock AS.