Interface LastModPluginCfg
-
- All Superinterfaces:
Configuration,PluginCfg
public interface LastModPluginCfg extends 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)Register to be notified when this Last Mod Plugin is changed.Class<? extends LastModPluginCfg>configurationClass()Gets the configuration class associated with this Last Mod Plugin.StringgetJavaClass()Gets the "java-class" property.SortedSet<PluginCfgDefn.PluginType>getPluginType()Gets the "plugin-type" property.voidremoveLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)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 Detail
-
configurationClass
Class<? extends LastModPluginCfg> configurationClass()
Gets the configuration class associated with this Last Mod Plugin.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfacePluginCfg- Returns:
- Returns the configuration class associated with this Last Mod Plugin.
-
addLastModChangeListener
void addLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
Register to be notified when this Last Mod Plugin is changed.- Parameters:
listener- The Last Mod Plugin configuration change listener.
-
removeLastModChangeListener
void removeLastModChangeListener(ConfigurationChangeListener<LastModPluginCfg> listener)
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.
- 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.
- Specified by:
getPluginTypein interfacePluginCfg- Returns:
- Returns an unmodifiable set containing the values of the "plugin-type" property.
-
-