public enum BindMethod extends Enum<BindMethod>
Enum Constant and Description |
---|
SASL
SASL bind
|
SIMPLE
SIMPLE bind
|
UNKWNOWN
Unkwnon bind method
|
Modifier and Type | Method and Description |
---|---|
static BindMethod |
getInstance(String bindMethod) |
static BindMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BindMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BindMethod SIMPLE
public static final BindMethod SASL
public static final BindMethod UNKWNOWN
public static BindMethod[] values()
for (BindMethod c : BindMethod.values()) System.out.println(c);
public static BindMethod 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 BindMethod getInstance(String bindMethod)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.