public enum LdapCheck extends java.lang.Enum<LdapCheck>
Enum Constant | Description |
---|---|
BaseObjectEmpty |
Base Object has been specified.
|
MissingFields |
Some required fields are missing.
|
Ok |
No error.
|
ServerEmpty |
Server field is empty.
|
ServerLdaps |
LDAP over SSL is non-standardized and deprecated: ldaps has been specified.
|
ServerNoScheme |
The server doesn't contain a scheme.
|
ServerNotLdap |
The server is not a LDAP scheme.
|
ServerNotUrl |
The server is not an url.
|
Modifier and Type | Field | Description |
---|---|---|
protected int |
mValue |
Modifier and Type | Method | Description |
---|---|---|
static LdapCheck |
fromInt(int value) |
|
protected static LdapCheck[] |
fromIntArray(int[] values) |
|
int |
toInt() |
|
protected static int[] |
toIntArray(LdapCheck[] values) |
|
static LdapCheck |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static LdapCheck[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapCheck Ok
public static final LdapCheck ServerEmpty
public static final LdapCheck ServerNotUrl
public static final LdapCheck ServerNoScheme
public static final LdapCheck ServerNotLdap
public static final LdapCheck ServerLdaps
public static final LdapCheck BaseObjectEmpty
public static final LdapCheck MissingFields
public static LdapCheck[] values()
for (LdapCheck c : LdapCheck.values()) System.out.println(c);
public static LdapCheck valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static LdapCheck fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
protected static LdapCheck[] fromIntArray(int[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
protected static int[] toIntArray(LdapCheck[] values) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()