Enum ContentSyncState

java.lang.Object
java.lang.Enum<ContentSyncState>
com.unboundid.ldap.sdk.controls.ContentSyncState
All Implemented Interfaces:
Serializable, Comparable<ContentSyncState>, 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 Constants
    Enum Constant
    Description
    Indicates that the associated entry or reference was just created by an add or modify DN operation.
    Indicates that the associated entry or reference was just removed by a delete or modify DN operation.
    Indicates that the associated entry or reference was just updated by a modify or modify DN operation.
    Indicates that the associated entry or reference was already present in the server when the synchronization was initiated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the content synchronization state with the specified name.
    int
    Retrieves the integer value for this synchronization state.
    valueOf(int intValue)
    Retrieves the content synchronization state with the specified integer value.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PRESENT

      public static final ContentSyncState PRESENT
      Indicates that the associated entry or reference was already present in the server when the synchronization was initiated.
    • ADD

      public static final ContentSyncState ADD
      Indicates that the associated entry or reference was just created by an add or modify DN operation.
    • MODIFY

      public static final ContentSyncState MODIFY
      Indicates that the associated entry or reference was just updated by a modify or modify DN operation.
    • DELETE

      public static final ContentSyncState DELETE
      Indicates that the associated entry or reference was just removed by a delete or modify DN operation.
  • Method Details

    • values

      public static ContentSyncState[] 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

      public static ContentSyncState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • intValue

      public int intValue()
      Retrieves the integer value for this synchronization state.
      Returns:
      The integer value for this synchronization state.
    • valueOf

      @Nullable public static ContentSyncState valueOf(int intValue)
      Retrieves the content synchronization state with the specified integer value.
      Parameters:
      intValue - The integer value for which to retrieve the corresponding synchronization state.
      Returns:
      The content synchronization state with the specified integer value, or null if the given value does not correspond with any defined state.
    • forName

      Retrieves the content synchronization state with the specified name.
      Parameters:
      name - The name of the content synchronization state to retrieve. It must not be null.
      Returns:
      The requested content synchronization state, or null if no such state is defined.