@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum UniquenessValidationLevel extends java.lang.Enum<UniquenessValidationLevel>
UniquenessRequestControl
.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Enum Constant and Description |
---|
ALL_AVAILABLE_BACKEND_SERVERS
Indicates that all available servers within the scope of the uniqueness
criteria should be searched for potential uniqueness conflicts.
|
ALL_BACKEND_SETS
Indicates that one server from each entry-balanced backend set should be
searched for potential uniqueness conflicts.
|
ALL_SUBTREE_VIEWS
Indicates that a single search should be performed per subtree view to
ensure that there are no uniqueness conflicts.
|
NONE
Indicates that no uniqueness validation should be performed.
|
Modifier and Type | Method and Description |
---|---|
static UniquenessValidationLevel |
forName(java.lang.String name)
Retrieves the uniqueness validation level with the specified name.
|
int |
intValue()
Retrieves the integer value for this uniqueness validation level.
|
static UniquenessValidationLevel |
valueOf(int intValue)
Retrieves the uniqueness validation level with the specified integer value.
|
static UniquenessValidationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UniquenessValidationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UniquenessValidationLevel NONE
public static final UniquenessValidationLevel ALL_SUBTREE_VIEWS
public static final UniquenessValidationLevel ALL_BACKEND_SETS
public static final UniquenessValidationLevel ALL_AVAILABLE_BACKEND_SERVERS
public static UniquenessValidationLevel[] values()
for (UniquenessValidationLevel c : UniquenessValidationLevel.values()) System.out.println(c);
public static UniquenessValidationLevel 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 int intValue()
@Nullable public static UniquenessValidationLevel valueOf(int intValue)
intValue
- The integer value for the uniqueness validation level to
retrieve.null
if there is no validation level with the given
integer value.@Nullable public static UniquenessValidationLevel forName(@NotNull java.lang.String name)
name
- The name of the uniqueness validation level to retrieve. It
must not be null
.null
if no
such level is defined.