public class TestTemplateService extends ScriptService
Modifier and Type | Class and Description |
---|---|
static class |
TestTemplateService.MockTemplateScript |
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
deprecationLogger, logger, settings
Modifier and Type | Method and Description |
---|---|
<FactoryType> |
compile(Script script,
ScriptContext<FactoryType> context) |
static ScriptService |
instance() |
static ScriptService |
instance(boolean compilationException) |
close, clusterChanged, deleteStoredScript, getStoredScript, isAnyContextEnabled, isContextEnabled, isLangSupported, isTypeEnabled, putStoredScript, stats
logDeprecatedSetting, logRemovedSetting, nodeName
public static ScriptService instance()
public static ScriptService instance(boolean compilationException)
public <FactoryType> FactoryType compile(Script script, ScriptContext<FactoryType> context)
compile
in class ScriptService