Package com.unboundid.ldap.sdk.controls
Enum ContentSyncState
- All Implemented Interfaces:
Serializable,Comparable<ContentSyncState>,java.lang.constant.Constable
This enum defines the synchronization states for entries returned with the
content synchronization state control. See the documentation for the
ContentSyncRequestControl class for more information about using the
content synchronization operation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the associated entry or reference was just created by an add or modify DN operation.Indicates that the associated entry or reference was just removed by a delete or modify DN operation.Indicates that the associated entry or reference was just updated by a modify or modify DN operation.Indicates that the associated entry or reference was already present in the server when the synchronization was initiated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentSyncStateRetrieves the content synchronization state with the specified name.intintValue()Retrieves the integer value for this synchronization state.static ContentSyncStatevalueOf(int intValue) Retrieves the content synchronization state with the specified integer value.static ContentSyncStateReturns the enum constant of this type with the specified name.static ContentSyncState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRESENT
Indicates that the associated entry or reference was already present in the server when the synchronization was initiated. -
ADD
Indicates that the associated entry or reference was just created by an add or modify DN operation. -
MODIFY
Indicates that the associated entry or reference was just updated by a modify or modify DN operation. -
DELETE
Indicates that the associated entry or reference was just removed by a delete or modify DN operation.
-
-
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 for this synchronization state.- Returns:
- The integer value for this synchronization state.
-
valueOf
Retrieves the content synchronization state with the specified integer value.- Parameters:
intValue- The integer value for which to retrieve the corresponding synchronization state.- Returns:
- The content synchronization state with the specified integer
value, or
nullif the given value does not correspond with any defined state.
-
forName
Retrieves the content synchronization state with the specified name.- Parameters:
name- The name of the content synchronization state to retrieve. It must not benull.- Returns:
- The requested content synchronization state, or
nullif no such state is defined.
-