java.io.Closeable, java.lang.AutoCloseable, ClusterStateApplierpublic class TestTemplateService extends ScriptService
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TestTemplateService.MockTemplateScript |
deprecationLogger, logger, settingsALLOW_NONE, CONTEXTS_ALLOWED_SETTING, SCRIPT_CACHE_EXPIRE_SETTING, SCRIPT_CACHE_SIZE_SETTING, SCRIPT_MAX_COMPILATIONS_RATE, SCRIPT_MAX_SIZE_IN_BYTES, TYPES_ALLOWED_SETTING| Modifier and Type | Method | Description |
|---|---|---|
<FactoryType> |
compile(Script script,
ScriptContext<FactoryType> context) |
|
static ScriptService |
instance() |
|
static ScriptService |
instance(boolean compilationException) |
logDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyClusterState, close, deleteStoredScript, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, statspublic static ScriptService instance()
public static ScriptService instance(boolean compilationException)
public <FactoryType> FactoryType compile(Script script, ScriptContext<FactoryType> context)
compile in class ScriptService