Enum Constant and 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 and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static LdapCheck |
fromInt(int value) |
int |
toInt() |
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
public int toInt()