Enum ReadOnUpdatePolicy

    • Enum Constant Detail

      • DISABLED

        public static final ReadOnUpdatePolicy DISABLED
        The LDAP entry will not be read when an update is performed. More specifically, the REST resource will not be returned as part of a create, delete, patch, or update request.
      • CONTROLS

        public static final ReadOnUpdatePolicy CONTROLS
        The LDAP entry will be read atomically using the RFC 4527 read-entry controls. More specifically, the REST resource will be returned as part of a create, delete, patch, or update request, and it will reflect the state of the resource at the time the update was performed. This policy requires that the LDAP server supports RFC 4527.
      • SEARCH

        public static final ReadOnUpdatePolicy SEARCH
        The LDAP entry will be read non-atomically using an LDAP search when an update is performed. More specifically, the REST resource will be returned as part of a create, delete, patch, or update request, but it may not reflect the state of the resource at the time the update was performed.
    • Method Detail

      • values

        public static ReadOnUpdatePolicy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ReadOnUpdatePolicy c : ReadOnUpdatePolicy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ReadOnUpdatePolicy 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