Class IgnoreAttributesChangeSelectionCriteria

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.extensions.ChangelogBatchChangeSelectionCriteria
com.unboundid.ldap.sdk.unboundidds.extensions.IgnoreAttributesChangeSelectionCriteria

This class provides an implementation of a get changelog batch change selection criteria value that indicates that the server should not return changes which target only the specified attributes. This can be useful for ignoring changes to attributes which are changed frequently but not of interest to the client. Note that changes returned may include changes to these attributes, but only if the change targets other attributes that should not be ignored.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Constructor Details

    • IgnoreAttributesChangeSelectionCriteria

      public IgnoreAttributesChangeSelectionCriteria(boolean ignoreOperationalAttributes, @Nullable String... attributeNames)
      Creates a new ignore attributes change selection criteria value with the provided information.
      Parameters:
      ignoreOperationalAttributes - Indicates whether to automatically include all operational attributes in the set of attributes to ignore.
      attributeNames - The names of the attributes to ignore. It may be null or empty only if ignoreOperationalAttributes is true and no user attributes changes should be ignored.
    • IgnoreAttributesChangeSelectionCriteria

      public IgnoreAttributesChangeSelectionCriteria(boolean ignoreOperationalAttributes, @Nullable Collection<String> attributeNames)
      Creates a new ignore attributes change selection criteria value with the provided information.
      Parameters:
      ignoreOperationalAttributes - Indicates whether to automatically include all operational attributes in the set of attributes to ignore.
      attributeNames - The names of the attributes to ignore. It may be null or empty only if ignoreOperationalAttributes is true and no user attributes changes should be ignored.
  • Method Details

    • ignoreOperationalAttributes

      public boolean ignoreOperationalAttributes()
      Indicates whether to automatically include all operational attributes in the set of attributes to ignore.
      Returns:
      true if all operational attributes should automatically be included in the set of attributes to ignore, or false if only those operational attributes which are explicitly named should be ignored.
    • getAttributeNames

      Retrieves the names of the target attributes for changes that should be retrieved.
      Returns:
      The names of the target attributes for changes that should be retrieved.
    • encodeInnerElement

      Encodes the inner element for this changelog batch change selection criteria to an ASN.1 element.
      Specified by:
      encodeInnerElement in class ChangelogBatchChangeSelectionCriteria
      Returns:
      The encoded representation of the inner element to include in the encoded representation of the changelog batch change selection criteria element.
    • toString

      public void toString(@NotNull StringBuilder buffer)
      Appends a string representation of this changelog batch change selection criteria value to the provided buffer.
      Specified by:
      toString in class ChangelogBatchChangeSelectionCriteria
      Parameters:
      buffer - The buffer to which the information should be appended.