|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ContentSyncState>
com.unboundid.ldap.sdk.controls.ContentSyncState
public enum ContentSyncState
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.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ContentSyncState PRESENT
public static final ContentSyncState ADD
public static final ContentSyncState MODIFY
public static final ContentSyncState DELETE
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int intValue()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |