Class MustachePlugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.script.mustache.MustachePlugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.elasticsearch.plugins.ActionPlugin,org.elasticsearch.plugins.ScriptPlugin,org.elasticsearch.plugins.SearchPlugin
public class MustachePlugin extends org.elasticsearch.plugins.Plugin implements org.elasticsearch.plugins.ScriptPlugin, org.elasticsearch.plugins.ActionPlugin, org.elasticsearch.plugins.SearchPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin
org.elasticsearch.plugins.ActionPlugin.ActionHandler<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse>
-
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.SearchPlugin
org.elasticsearch.plugins.SearchPlugin.AggregationSpec, org.elasticsearch.plugins.SearchPlugin.FetchPhaseConstructionContext, org.elasticsearch.plugins.SearchPlugin.PipelineAggregationSpec, org.elasticsearch.plugins.SearchPlugin.QuerySpec<T extends org.elasticsearch.index.query.QueryBuilder>, org.elasticsearch.plugins.SearchPlugin.RescorerSpec<T extends org.elasticsearch.search.rescore.RescorerBuilder<T>>, org.elasticsearch.plugins.SearchPlugin.ScoreFunctionSpec<T extends org.elasticsearch.index.query.functionscore.ScoreFunctionBuilder<T>>, org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec<W extends org.elasticsearch.common.io.stream.NamedWriteable,P extends java.lang.Object>, org.elasticsearch.plugins.SearchPlugin.SearchExtSpec<T extends org.elasticsearch.search.SearchExtBuilder>, org.elasticsearch.plugins.SearchPlugin.SuggesterSpec<T extends org.elasticsearch.search.suggest.SuggestionBuilder<T>>
-
-
Constructor Summary
Constructors Constructor Description MustachePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>>getActions()java.util.List<org.elasticsearch.rest.RestHandler>getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)org.elasticsearch.script.ScriptEnginegetScriptEngine(org.elasticsearch.common.settings.Settings settings, java.util.Collection<org.elasticsearch.script.ScriptContext<?>> contexts)-
Methods inherited from interface org.elasticsearch.plugins.ActionPlugin
getActionFilters, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettings, getSettingsFilter, onIndexModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
-
-
-
-
Method Detail
-
getScriptEngine
public org.elasticsearch.script.ScriptEngine getScriptEngine(org.elasticsearch.common.settings.Settings settings, java.util.Collection<org.elasticsearch.script.ScriptContext<?>> contexts)- Specified by:
getScriptEnginein interfaceorg.elasticsearch.plugins.ScriptPlugin
-
getActions
public java.util.List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>> getActions()
- Specified by:
getActionsin interfaceorg.elasticsearch.plugins.ActionPlugin
-
getRestHandlers
public java.util.List<org.elasticsearch.rest.RestHandler> getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster)- Specified by:
getRestHandlersin interfaceorg.elasticsearch.plugins.ActionPlugin
-
-