public enum LdapSearchScope extends Enum<LdapSearchScope>
Enum Constant and Description |
---|
OBJECT
Only given search context object.
|
ONE_LEVEL
One level under the search context.
|
SUBTREE
Subtree of the search context.
|
Modifier and Type | Method and Description |
---|---|
static LdapSearchScope |
getSearchScope(String label) |
int |
toSearchControlValue() |
String |
toString() |
static LdapSearchScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LdapSearchScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LdapSearchScope OBJECT
public static final LdapSearchScope ONE_LEVEL
public static final LdapSearchScope SUBTREE
public static LdapSearchScope[] values()
for (LdapSearchScope c : LdapSearchScope.values()) System.out.println(c);
public static LdapSearchScope 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 String toString()
toString
in class Enum<LdapSearchScope>
public int toSearchControlValue()
public static LdapSearchScope getSearchScope(String label)
Copyright © 2024 Hazelcast, Inc.. All rights reserved.