Package org.elasticsearch.plugins
Class PluginTestUtil
java.lang.Object
org.elasticsearch.plugins.PluginTestUtil
Utility methods for testing plugins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteNamedComponentsFile(Path pluginDir, String namedComponentsJson) static voidwritePluginProperties(Path pluginDir, String... stringProps) static voidwriteSimplePluginDescriptor(Path pluginDir, String name, String classname) static voidwriteStablePluginProperties(Path pluginDir, String... stringProps)
-
Constructor Details
-
PluginTestUtil
public PluginTestUtil()
-
-
Method Details
-
writePluginProperties
- Throws:
IOException
-
writeStablePluginProperties
public static void writeStablePluginProperties(Path pluginDir, String... stringProps) throws IOException - Throws:
IOException
-
writeSimplePluginDescriptor
public static void writeSimplePluginDescriptor(Path pluginDir, String name, String classname) throws IOException - Throws:
IOException
-
writeNamedComponentsFile
public static void writeNamedComponentsFile(Path pluginDir, String namedComponentsJson) throws IOException - Throws:
IOException
-