Package org.forgerock.opendj.rest2ldap
Enum Class ReadOnUpdatePolicy
- All Implemented Interfaces:
Serializable
,Comparable<ReadOnUpdatePolicy>
,java.lang.constant.Constable
The policy which should be used in order to read an entry before it is
deleted, or after it is added or modified.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReadOnUpdatePolicy
Returns the enum constant of this class with the specified name.static ReadOnUpdatePolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
The LDAP entry will not be read when an update is performed. More specifically, the REST resource will not be returned as part of a create, delete, patch, or update request. -
CONTROLS
The LDAP entry will be read atomically using the RFC 4527 read-entry controls. More specifically, the REST resource will be returned as part of a create, delete, patch, or update request, and it will reflect the state of the resource at the time the update was performed. This policy requires that the LDAP server supports RFC 4527. -
SEARCH
The LDAP entry will be read non-atomically using an LDAP search when an update is performed. More specifically, the REST resource will be returned as part of a create, delete, patch, or update request, but it may not reflect the state of the resource at the time the update was performed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-