Package org.elasticsearch.test
Class AbstractSearchCancellationTestCase.ScriptedBlockPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.script.MockScriptPlugin
org.elasticsearch.test.AbstractSearchCancellationTestCase.ScriptedBlockPlugin
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ScriptPlugin
- Enclosing class:
- AbstractSearchCancellationTestCase
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class org.elasticsearch.script.MockScriptPlugin
NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
reset()
void
setBeforeExecution
(Runnable runnable) Methods inherited from class org.elasticsearch.script.MockScriptPlugin
getScriptEngine, nonDeterministicPluginScripts, pluginContextCompilers, pluginScriptLang
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModule
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.ScriptPlugin
getContexts
-
Field Details
-
SEARCH_BLOCK_SCRIPT_NAME
- See Also:
-
INIT_SCRIPT_NAME
- See Also:
-
MAP_SCRIPT_NAME
- See Also:
-
MAP_BLOCK_SCRIPT_NAME
- See Also:
-
COMBINE_SCRIPT_NAME
- See Also:
-
REDUCE_FAIL_SCRIPT_NAME
- See Also:
-
REDUCE_BLOCK_SCRIPT_NAME
- See Also:
-
TERM_SCRIPT_NAME
- See Also:
-
-
Constructor Details
-
ScriptedBlockPlugin
public ScriptedBlockPlugin()
-
-
Method Details
-
reset
public void reset() -
disableBlock
public void disableBlock() -
enableBlock
public void enableBlock() -
setBeforeExecution
-
pluginScripts
- Specified by:
pluginScripts
in classMockScriptPlugin
-