public enum ContentSyncRequestMode extends java.lang.Enum<ContentSyncRequestMode>
ContentSyncRequestControl class for more information about using the
content synchronization operation.| Enum Constant | Description |
|---|---|
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.
|
REFRESH_ONLY |
Indicates that the client only wishes to retrieve information about entries
which have changed up to this point.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ContentSyncRequestMode |
forName(java.lang.String name) |
Retrieves the content synchronization request mode with the specified name.
|
int |
intValue() |
Retrieves the integer value for this request mode.
|
static ContentSyncRequestMode |
valueOf(int intValue) |
Retrieves the content synchronization request mode with the specified
integer value.
|
static ContentSyncRequestMode |
valueOf(java.lang.String name) |
Returns 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.
|
public static final ContentSyncRequestMode REFRESH_ONLY
public static final ContentSyncRequestMode REFRESH_AND_PERSIST
public static ContentSyncRequestMode[] values()
for (ContentSyncRequestMode c : ContentSyncRequestMode.values()) System.out.println(c);
public static ContentSyncRequestMode 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 int intValue()
@Nullable public static ContentSyncRequestMode valueOf(int intValue)
intValue - The integer value for which to retrieve the corresponding
request mode.null if the given value does not correspond with any
defined mode.@Nullable public static ContentSyncRequestMode forName(@NotNull java.lang.String name)
name - The name of the content synchronization request mode to
retrieve. It must not be null.null if no
such mode is defined.