Class PluginsManager

java.lang.Object
org.elasticsearch.bootstrap.plugins.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.
      Parameters:
      env - the environment to use
      Throws:
      Exception - if anything goes wrong