public class SightlyScriptEngine extends org.apache.sling.scripting.api.AbstractSlingScriptEngine implements Compilable
contextARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME| Modifier and Type | Method and Description |
|---|---|
CompiledScript |
compile(Reader script) |
CompiledScript |
compile(String script) |
Object |
eval(Reader reader,
ScriptContext scriptContext) |
ExtensionRegistryService |
getExtensionRegistryService() |
createBindings, eval, getFactoryeval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContextpublic CompiledScript compile(String script) throws ScriptException
compile in interface CompilableScriptExceptionpublic CompiledScript compile(Reader script) throws ScriptException
compile in interface CompilableScriptExceptionpublic Object eval(Reader reader, ScriptContext scriptContext) throws ScriptException
eval in interface ScriptEngineScriptExceptionpublic ExtensionRegistryService getExtensionRegistryService()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.