Interface LastModPluginCfg
- All Superinterfaces:
Configuration
,PluginCfg
A server-side interface for querying Last Mod Plugin settings.
The Last Mod Plugin is used to ensure that the creatorsName and createTimestamp attributes are included in an entry whenever it is added to the server and also to ensure that the modifiersName and modifyTimestamp attributes are updated whenever an entry is modified or renamed.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Register to be notified when this Last Mod Plugin is changed.Class<? extends LastModPluginCfg>
Gets the configuration class associated with this Last Mod Plugin.Gets the "java-class" property.Gets the "plugin-type" property.void
Deregister an existing Last Mod 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, isInvokeForInternalOperations, removeChangeListener
-
Method Details
-
configurationClass
Class<? extends LastModPluginCfg> configurationClass()Gets the configuration class associated with this Last Mod Plugin.- Specified by:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in interfacePluginCfg
- Returns:
- Returns the configuration class associated with this Last Mod Plugin.
-
addLastModChangeListener
Register to be notified when this Last Mod Plugin is changed.- Parameters:
listener
- The Last Mod Plugin configuration change listener.
-
removeLastModChangeListener
Deregister an existing Last Mod Plugin configuration change listener.- Parameters:
listener
- The Last Mod Plugin configuration change listener.
-
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.LastModPlugin
- Specified by:
getJavaClass
in 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:
preoperationadd
,preoperationmodify
,preoperationmodifydn
- Specified by:
getPluginType
in interfacePluginCfg
- Returns:
- Returns an unmodifiable set containing the values of the "plugin-type" property.
-