Class PluginsManager
java.lang.Object
org.elasticsearch.bootstrap.plugins.PluginsManager
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
configExists
(Environment env) static void
syncPlugins
(Environment env) Synchronizes the currently-installed plugins.
-
Field Details
-
SYNC_PLUGINS_ACTION
- See Also:
-
-
Constructor Details
-
PluginsManager
public PluginsManager()
-
-
Method Details
-
configExists
-
syncPlugins
Synchronizes the currently-installed plugins.- Parameters:
env
- the environment to use- Throws:
Exception
- if anything goes wrong
-