public interface Plugin
A plugin may implement a constructor with a Settings
argument, which will be called
preferred to an empty one.
Modifier and Type | Method and Description |
---|---|
org.elasticsearch.common.settings.Settings |
additionalSettings()
Additional node settings loaded by the plugin
|
java.lang.String |
description()
The description of the plugin.
|
java.util.Collection<? extends org.elasticsearch.common.inject.Module> |
indexModules(org.elasticsearch.common.settings.Settings settings)
Per index modules.
|
java.util.Collection<java.lang.Class<? extends java.io.Closeable>> |
indexServices()
Per index services that will be automatically closed.
|
java.lang.String |
name()
The name of the plugin.
|
java.util.Collection<org.elasticsearch.common.inject.Module> |
nodeModules()
Node level modules.
|
java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.component.LifecycleComponent>> |
nodeServices()
Node level services that will be automatically started/stopped/closed.
|
void |
processModule(org.elasticsearch.common.inject.Module module)
Process a specific module.
|
java.util.Collection<? extends org.elasticsearch.common.inject.Module> |
shardModules(org.elasticsearch.common.settings.Settings settings)
Per index shard module.
|
java.util.Collection<java.lang.Class<? extends java.io.Closeable>> |
shardServices()
Per index shard service that will be automatically closed.
|
java.lang.String name()
java.lang.String description()
java.util.Collection<org.elasticsearch.common.inject.Module> nodeModules()
java.util.Collection<java.lang.Class<? extends org.elasticsearch.common.component.LifecycleComponent>> nodeServices()
java.util.Collection<? extends org.elasticsearch.common.inject.Module> indexModules(org.elasticsearch.common.settings.Settings settings)
java.util.Collection<java.lang.Class<? extends java.io.Closeable>> indexServices()
java.util.Collection<? extends org.elasticsearch.common.inject.Module> shardModules(org.elasticsearch.common.settings.Settings settings)
java.util.Collection<java.lang.Class<? extends java.io.Closeable>> shardServices()
void processModule(org.elasticsearch.common.inject.Module module)
org.elasticsearch.common.settings.Settings additionalSettings()