Interface ReloadAwarePlugin


public interface ReloadAwarePlugin
A plugin that may receive a ReloadablePlugin in order to call its ReloadablePlugin.reload(Settings) method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Provide a callback for reloading plugins
  • Method Details

    • setReloadCallback

      void setReloadCallback(ReloadablePlugin reloadablePlugin)
      Provide a callback for reloading plugins

      This callback is in the form of an implementation of ReloadablePlugin, but the implementation does not need to be a Plugin, or be registered with PluginsService.

      Parameters:
      reloadablePlugin - A plugin that this plugin may be able to reload