java.io.Closeable
, java.lang.AutoCloseable
, ClusterStateApplier
public class TestTemplateService extends ScriptService
Modifier and Type | Class | Description |
---|---|---|
static class |
TestTemplateService.MockTemplateScript |
deprecationLogger, logger, settings
ALLOW_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, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyClusterState, close, deleteStoredScript, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, stats
public static ScriptService instance()
public static ScriptService instance(boolean compilationException)
public <FactoryType> FactoryType compile(Script script, ScriptContext<FactoryType> context)
compile
in class ScriptService