Interface PluginFileSystemLookup

    • Method Detail

      • loadPluginsFrom

        void loadPluginsFrom​(@NotNull
                             PluginInfosBuilder callback)
        Load all plugins from all default locations
        Parameters:
        callback - will get found PluginInfo
      • loadPluginInfo

        @NotNull
        PluginInfo loadPluginInfo​(@NotNull
                                  File pluginDir)
        Try to load a plugin from specified location
        Parameters:
        pluginDir - Directory to load the plugin from
        Returns:
        Found PluginInfo (IncorrectPluginInfo if there is no plugin in the directory or there was an error during parsing)