Interface PluginsInfoApi

    • Method Detail

      • getPluginsInfo

        Iterable<PluginInfo> getPluginsInfo()
        Returns:
        the list of plugins as seen by the OSGI registry
      • notifyOfStateChanged

        void notifyOfStateChanged​(PluginStateChange newState,
                                  String pluginKey,
                                  String pluginName,
                                  String pluginVersion,
                                  PluginLanguage pluginLanguage)
        Notify OSGI component that a new plugin was installed (downloaded) on the file system.
        Parameters:
        newState - the state (currently only NEW_VERSION is allowed
        pluginKey - the plugin key (used during install/uninstall time)
        pluginName - the name of the plugin (as seen of the filesystem)
        pluginVersion - the version of the plugin
        pluginLanguage - the language (JAVA or RUBY)