Enum MultiUpdateErrorBehavior
java.lang.Object
java.lang.Enum<MultiUpdateErrorBehavior>
com.unboundid.ldap.sdk.unboundidds.extensions.MultiUpdateErrorBehavior
- All Implemented Interfaces:
Serializable,Comparable<MultiUpdateErrorBehavior>,java.lang.constant.Constable
This enum defines the set of possible error behavior values that may be used
in the multi-update extended request.
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.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe behavior which indicates that processing will end for the multi-update operation after the first failure is encountered while attempting to apply a change.The behavior which indicates that all operations must be processed atomically.The behavior which indicates that the server should attempt to process all elements of the multi-update request even if one or more failures are encountered. -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiUpdateErrorBehaviorRetrieves the multi-update error behavior with the specified name.intintValue()Retrieves the integer value associated with this error behavior.static MultiUpdateErrorBehaviorvalueOf(int intValue) Retrieves the multi-update error behavior value with the specified integer value.static MultiUpdateErrorBehaviorReturns the enum constant of this type with the specified name.static MultiUpdateErrorBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ATOMIC
The behavior which indicates that all operations must be processed atomically. The entire set of updates will succeed or fail as a single unit, and directory clients will not see any updates while the multi-update request is in progress. Note that the server may place constraints on the ability to use this error behavior such that it may not be usable in all circumstances (e.g., when passing through a Directory Proxy Server with entry balancing enabled or that would otherwise need to communicate with multiple servers, or if it is necessary to interact with entries in multiple Directory Server backends). -
ABORT_ON_ERROR
The behavior which indicates that processing will end for the multi-update operation after the first failure is encountered while attempting to apply a change. Any changes processed before the first failure was encountered will still have been applied, and clients accessing the server in the course of processing the multi-update request may see changes after only some of them have been completed. -
CONTINUE_ON_ERROR
The behavior which indicates that the server should attempt to process all elements of the multi-update request even if one or more failures are encountered. Clients accessing the server in the course of processing the multi-update request may see changes after only some of them have been completed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
intValue
Retrieves the integer value associated with this error behavior.- Returns:
- The integer value associated with this error behavior.
-
valueOf
Retrieves the multi-update error behavior value with the specified integer value.- Parameters:
intValue- The integer value for the error behavior to retrieve.- Returns:
- The multi-update error behavior with the specified integer value,
or
nullif there is no error behavior with the specified value.
-
forName
Retrieves the multi-update error behavior with the specified name.- Parameters:
name- The name of the multi-update error behavior to retrieve. It must not benull.- Returns:
- The requested multi-update error behavior, or
nullif no such behavior is defined.
-