Class MustachePlugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.script.mustache.MustachePlugin
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,ActionPlugin
,ScriptPlugin
,SearchPlugin
public class MustachePlugin extends Plugin implements ScriptPlugin, ActionPlugin, SearchPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin
ActionPlugin.ActionHandler<Request extends ActionRequest,Response extends ActionResponse>
-
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.SearchPlugin
SearchPlugin.AggregationSpec, SearchPlugin.FetchPhaseConstructionContext, SearchPlugin.PipelineAggregationSpec, SearchPlugin.QuerySpec<T extends QueryBuilder>, SearchPlugin.RescorerSpec<T extends RescorerBuilder<T>>, SearchPlugin.ScoreFunctionSpec<T extends ScoreFunctionBuilder<T>>, SearchPlugin.SearchExtensionSpec<W extends NamedWriteable,P extends java.lang.Object>, SearchPlugin.SearchExtSpec<T extends SearchExtBuilder>, SearchPlugin.SuggesterSpec<T extends SuggestionBuilder<T>>
-
-
Constructor Summary
Constructors Constructor Description MustachePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>>
getActions()
java.util.List<RestHandler>
getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)
ScriptEngine
getScriptEngine(Settings settings, java.util.Collection<ScriptContext<?>> contexts)
-
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.plugins.ActionPlugin
getActionFilters, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders
-
Methods inherited from interface org.elasticsearch.plugins.ScriptPlugin
getContexts
-
Methods inherited from interface org.elasticsearch.plugins.SearchPlugin
getAggregations, getFetchSubPhases, getHighlighters, getMovingAverageModels, getPipelineAggregations, getQueries, getRescorers, getScoreFunctions, getSearchExts, getSignificanceHeuristics, getSuggesters
-
-
-
-
Method Detail
-
getScriptEngine
public ScriptEngine getScriptEngine(Settings settings, java.util.Collection<ScriptContext<?>> contexts)
- Specified by:
getScriptEngine
in interfaceScriptPlugin
-
getActions
public java.util.List<ActionPlugin.ActionHandler<? extends ActionRequest,? extends ActionResponse>> getActions()
- Specified by:
getActions
in interfaceActionPlugin
-
getRestHandlers
public java.util.List<RestHandler> getRestHandlers(Settings settings, RestController restController, ClusterSettings clusterSettings, IndexScopedSettings indexScopedSettings, SettingsFilter settingsFilter, IndexNameExpressionResolver indexNameExpressionResolver, java.util.function.Supplier<DiscoveryNodes> nodesInCluster)
- Specified by:
getRestHandlers
in interfaceActionPlugin
-
-