Interface AttributeCleanupPluginCfg
-
- All Superinterfaces:
Configuration,PluginCfg
public interface AttributeCleanupPluginCfg extends PluginCfg
A server-side interface for querying 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAttributeCleanupChangeListener(ConfigurationChangeListener<AttributeCleanupPluginCfg> listener)Register to be notified when this Attribute Cleanup Plugin is changed.Class<? extends AttributeCleanupPluginCfg>configurationClass()Gets the configuration class associated with this Attribute Cleanup Plugin.StringgetJavaClass()Gets the "java-class" property.SortedSet<PluginCfgDefn.PluginType>getPluginType()Gets the "plugin-type" property.SortedSet<String>getRemoveInboundAttributes()Gets the "remove-inbound-attributes" property.SortedSet<String>getRenameInboundAttributes()Gets the "rename-inbound-attributes" property.booleanisInvokeForInternalOperations()Gets the "invoke-for-internal-operations" property.voidremoveAttributeCleanupChangeListener(ConfigurationChangeListener<AttributeCleanupPluginCfg> listener)Deregister an existing Attribute Cleanup Plugin configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.PluginCfg
addChangeListener, isEnabled, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends AttributeCleanupPluginCfg> configurationClass()
Gets the configuration class associated with this Attribute Cleanup Plugin.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfacePluginCfg- Returns:
- Returns the configuration class associated with this Attribute Cleanup Plugin.
-
addAttributeCleanupChangeListener
void addAttributeCleanupChangeListener(ConfigurationChangeListener<AttributeCleanupPluginCfg> listener)
Register to be notified when this Attribute Cleanup Plugin is changed.- Parameters:
listener- The Attribute Cleanup Plugin configuration change listener.
-
removeAttributeCleanupChangeListener
void removeAttributeCleanupChangeListener(ConfigurationChangeListener<AttributeCleanupPluginCfg> listener)
Deregister an existing Attribute Cleanup Plugin configuration change listener.- Parameters:
listener- The Attribute Cleanup Plugin configuration change listener.
-
isInvokeForInternalOperations
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 operatons that can cause the same plug-in to be re-invoked.
Default value:
false- Specified by:
isInvokeForInternalOperationsin interfacePluginCfg- Returns:
- Returns the value of the "invoke-for-internal-operations" property.
-
getJavaClass
String 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:
getJavaClassin interfacePluginCfg- Returns:
- Returns the value of the "java-class" property.
-
getPluginType
SortedSet<PluginCfgDefn.PluginType> 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:
getPluginTypein interfacePluginCfg- Returns:
- Returns an unmodifiable set containing the values of the "plugin-type" property.
-
getRemoveInboundAttributes
SortedSet<String> getRemoveInboundAttributes()
Gets the "remove-inbound-attributes" property.A list of attributes which should be removed from incoming add or modify requests.
- Returns:
- Returns an unmodifiable set containing the values of the "remove-inbound-attributes" property.
-
getRenameInboundAttributes
SortedSet<String> getRenameInboundAttributes()
Gets the "rename-inbound-attributes" property.A list of attributes which should be renamed in incoming add or modify requests.
- Returns:
- Returns an unmodifiable set containing the values of the "rename-inbound-attributes" property.
-
-