Package com.unboundid.ldap.sdk.controls
Enum ContentSyncInfoType
- All Implemented Interfaces:
Serializable,Comparable<ContentSyncInfoType>,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 content synchronization info response only provides a new state cookie.Indicates that the associated content synchronization info response is used to indicate that a delete phase has ended.Indicates that the associated content synchronization info response is used to indicate that a present phase has ended.Indicates that the associated content synchronization info response is used to provide information about multiple entries which have been deleted or multiple entries which have remained unchanged. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContentSyncInfoTypeRetrieves the content synchronization info type with the specified name.bytegetType()Retrieves the BER type for this synchronization info type value.static ContentSyncInfoTypevalueOf(byte type) Retrieves the content synchronization info type with the specified BER type.static ContentSyncInfoTypeReturns the enum constant of this type with the specified name.static ContentSyncInfoType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NEW_COOKIE
Indicates that the associated content synchronization info response only provides a new state cookie. -
REFRESH_DELETE
Indicates that the associated content synchronization info response is used to indicate that a delete phase has ended. -
REFRESH_PRESENT
Indicates that the associated content synchronization info response is used to indicate that a present phase has ended. -
SYNC_ID_SET
Indicates that the associated content synchronization info response is used to provide information about multiple entries which have been deleted or multiple entries which have remained unchanged.
-
-
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
-
getType
Retrieves the BER type for this synchronization info type value.- Returns:
- The BER type for this synchronization info type value.
-
valueOf
Retrieves the content synchronization info type with the specified BER type.- Parameters:
type- The BER type of the content synchronization info type value to retrieve.- Returns:
- The content synchronization info value with the specified BER
type, or
nullif the given value does not correspond with any defined type.
-
forName
Retrieves the content synchronization info type with the specified name.- Parameters:
name- The name of the content synchronization info type to retrieve. It must not benull.- Returns:
- The requested content sync info type, or
nullif no such type is defined.
-