Class PluginsManager


public class PluginsManager extends Object
This class is responsible for adding, updating or removing plugins so that the list of installed plugins matches those in the elasticsearch-plugins.yml config file. It does this by loading a class dynamically from the plugin-cli jar and executing it.
  • Field Details

  • Constructor Details

    • PluginsManager

      public PluginsManager()
  • Method Details

    • configExists

      public static boolean configExists(Environment env)
    • syncPlugins

      public static void syncPlugins(Environment env) throws Exception
      Synchronizes the currently-installed plugins.
      env - the environment to use
      Exception - if anything goes wrong