Package com.unboundid.ldap.sdk.controls
Enum ContentSyncRequestMode
- All Implemented Interfaces:
Serializable,Comparable<ContentSyncRequestMode>,java.lang.constant.Constable
This enum defines the modes which may be used with the content
synchronization request 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 client wishes to retrieve information about entries which have changed up to this point, and also to be notified of any additional matching changes in the future.Indicates that the client only wishes to retrieve information about entries which have changed up to this point. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentSyncRequestModeRetrieves the content synchronization request mode with the specified name.intintValue()Retrieves the integer value for this request mode.static ContentSyncRequestModevalueOf(int intValue) Retrieves the content synchronization request mode with the specified integer value.static ContentSyncRequestModeReturns the enum constant of this type with the specified name.static ContentSyncRequestMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REFRESH_ONLY
Indicates that the client only wishes to retrieve information about entries which have changed up to this point. -
REFRESH_AND_PERSIST
Indicates that the client wishes to retrieve information about entries which have changed up to this point, and also to be notified of any additional matching changes in the future.
-
-
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 request mode.- Returns:
- The integer value for this request mode.
-
valueOf
Retrieves the content synchronization request mode with the specified integer value.- Parameters:
intValue- The integer value for which to retrieve the corresponding request mode.- Returns:
- The content synchronization mode with the specified integer value,
or
nullif the given value does not correspond with any defined mode.
-
forName
Retrieves the content synchronization request mode with the specified name.- Parameters:
name- The name of the content synchronization request mode to retrieve. It must not benull.- Returns:
- The requested content sync request mode, or
nullif no such mode is defined.
-