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 Detail

      • 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.

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

        Specified by:
        getJavaClass in interface PluginCfg
        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 interface PluginCfg
        Returns:
        Returns an unmodifiable set containing the values of the "plugin-type" property.