public enum ContentSyncInfoType extends java.lang.Enum<ContentSyncInfoType>
ContentSyncRequestControl
class for more information about using the
content synchronization operation.Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ContentSyncInfoType |
forName(java.lang.String name)
Retrieves the content synchronization info type with the specified name.
|
byte |
getType()
Retrieves the BER type for this synchronization info type value.
|
static ContentSyncInfoType |
valueOf(byte type)
Retrieves the content synchronization info type with the specified BER
type.
|
static ContentSyncInfoType |
valueOf(java.lang.String name)
Returns 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.
|
public static final ContentSyncInfoType NEW_COOKIE
public static final ContentSyncInfoType REFRESH_DELETE
public static final ContentSyncInfoType REFRESH_PRESENT
public static final ContentSyncInfoType SYNC_ID_SET
public static ContentSyncInfoType[] values()
for (ContentSyncInfoType c : ContentSyncInfoType.values()) System.out.println(c);
public static ContentSyncInfoType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte getType()
@Nullable public static ContentSyncInfoType valueOf(byte type)
type
- The BER type of the content synchronization info type value
to retrieve.null
if the given value does not correspond with
any defined type.@Nullable public static ContentSyncInfoType forName(@NotNull java.lang.String name)
name
- The name of the content synchronization info type to
retrieve. It must not be null
.null
if no such
type is defined.