Interface AttributeCleanupPluginCfgClient

All Superinterfaces:
ConfigurationClient, PluginCfgClient

public interface AttributeCleanupPluginCfgClient extends PluginCfgClient
A client-side interface for reading and modifying Attribute Cleanup Plugin settings.

A pre-parse plugin which can be used to remove and rename attributes in ADD and MODIFY requests before being processed.

  • Method Details

    • definition

      Get the configuration definition associated with this Attribute Cleanup Plugin.
      Specified by:
      definition in interface ConfigurationClient
      Specified by:
      definition in interface PluginCfgClient
      Returns:
      Returns the configuration definition associated with this Attribute Cleanup Plugin.
    • isInvokeForInternalOperations

      ValueOrExpression<Boolean> isInvokeForInternalOperations()
      Gets the "invoke-for-internal-operations" property.

      Indicates whether the plug-in should be invoked for internal operations.

      Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operations that can cause the same plug-in to be re-invoked.

      Default value: false

      Specified by:
      isInvokeForInternalOperations in interface PluginCfgClient
      Returns:
      Returns the value of the "invoke-for-internal-operations" property.
    • setInvokeForInternalOperations

      void setInvokeForInternalOperations(ValueOrExpression<Boolean> value) throws PropertyException
      Sets the "invoke-for-internal-operations" property.

      Indicates whether the plug-in should be invoked for internal operations.

      Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operations that can cause the same plug-in to be re-invoked.

      Specified by:
      setInvokeForInternalOperations in interface PluginCfgClient
      Parameters:
      value - The value of the "invoke-for-internal-operations" property.
      Throws:
      PropertyException - If the new value is invalid.
    • getJavaClass

      Gets the "java-class" property.

      Specifies the fully-qualified name of the Java class that provides the plug-in implementation.

      Default value: org.opends.server.plugins.AttributeCleanupPlugin

      Specified by:
      getJavaClass in interface PluginCfgClient
      Returns:
      Returns the value of the "java-class" property.
    • setJavaClass

      Sets the "java-class" property.

      Specifies the fully-qualified name of the Java class that provides the plug-in implementation.

      Specified by:
      setJavaClass in interface PluginCfgClient
      Parameters:
      value - The value of the "java-class" property.
      Throws:
      PropertyException - If the new value is invalid.
    • getPluginType

      Gets the "plugin-type" property.

      Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.

      Default values: preparseadd, preparsemodify

      Specified by:
      getPluginType in interface PluginCfgClient
      Returns:
      Returns the values of the "plugin-type" property.
    • setPluginType

      Sets the "plugin-type" property.

      Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.

      Specified by:
      setPluginType in interface PluginCfgClient
      Parameters:
      values - The values of the "plugin-type" property.
      Throws:
      PropertyException - If one or more of the new values are invalid.
    • getRemoveInboundAttributes

      SortedSet<ValueOrExpression<String>> getRemoveInboundAttributes()
      Gets the "remove-inbound-attributes" property.

      A list of attributes which should be removed from incoming add or modify requests.

      Returns:
      Returns the values of the "remove-inbound-attributes" property.
    • setRemoveInboundAttributes

      void setRemoveInboundAttributes(Collection<ValueOrExpression<String>> values) throws PropertyException
      Sets the "remove-inbound-attributes" property.

      A list of attributes which should be removed from incoming add or modify requests.

      Parameters:
      values - The values of the "remove-inbound-attributes" property.
      Throws:
      PropertyException - If one or more of the new values are invalid.
    • getRenameInboundAttributes

      SortedSet<ValueOrExpression<String>> getRenameInboundAttributes()
      Gets the "rename-inbound-attributes" property.

      A list of attributes which should be renamed in incoming add or modify requests.

      Returns:
      Returns the values of the "rename-inbound-attributes" property.
    • setRenameInboundAttributes

      void setRenameInboundAttributes(Collection<ValueOrExpression<String>> values) throws PropertyException
      Sets the "rename-inbound-attributes" property.

      A list of attributes which should be renamed in incoming add or modify requests.

      Parameters:
      values - The values of the "rename-inbound-attributes" property.
      Throws:
      PropertyException - If one or more of the new values are invalid.