public enum ContentSyncState extends java.lang.Enum<ContentSyncState>
ContentSyncRequestControl class for more information about using the
content synchronization operation.| Enum Constant and Description |
|---|
ADD
Indicates that the associated entry or reference was just created by an
add or modify DN operation.
|
DELETE
Indicates that the associated entry or reference was just removed by a
delete or modify DN operation.
|
MODIFY
Indicates that the associated entry or reference was just updated by a
modify or modify DN operation.
|
PRESENT
Indicates that the associated entry or reference was already present in
the server when the synchronization was initiated.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentSyncState |
forName(java.lang.String name)
Retrieves the content synchronization state with the specified name.
|
int |
intValue()
Retrieves the integer value for this synchronization state.
|
static ContentSyncState |
valueOf(int intValue)
Retrieves the content synchronization state with the specified integer
value.
|
static ContentSyncState |
valueOf(java.lang.String name)
Returns 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.
|
public static final ContentSyncState PRESENT
public static final ContentSyncState ADD
public static final ContentSyncState MODIFY
public static final ContentSyncState DELETE
public static ContentSyncState[] values()
for (ContentSyncState c : ContentSyncState.values()) System.out.println(c);
public static ContentSyncState 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 ContentSyncState valueOf(int intValue)
intValue - The integer value for which to retrieve the corresponding
synchronization state.null if the given value does not correspond with
any defined state.@Nullable public static ContentSyncState forName(@NotNull java.lang.String name)
name - The name of the content synchronization state to retrieve.
It must not be null.null if no
such state is defined.