public interface ScriptingService
| Modifier and Type | Method and Description |
|---|---|
CompiledScript |
compile(String path) |
Object |
eval(String path) |
Object |
eval(String path,
ScriptContext ctx) |
ScriptEngine |
getEngineByFileName(String path) |
CompiledScript |
getScript(String name) |
File |
getScriptDir() |
ScriptEngineManager |
getScriptEngineManager() |
File |
getScriptFile(String path) |
boolean |
isScriptRegistered(String name) |
void |
registerScript(ScriptDescriptor sd) |
void |
setScriptDir(File scriptDir) |
void |
unregisterScript(ScriptDescriptor sd) |
void |
unregisterScript(String name) |
void setScriptDir(File scriptDir)
File getScriptDir()
void registerScript(ScriptDescriptor sd)
void unregisterScript(ScriptDescriptor sd)
void unregisterScript(String name)
boolean isScriptRegistered(String name)
CompiledScript getScript(String name) throws ScriptException, IOException
ScriptExceptionIOExceptionCompiledScript compile(String path) throws ScriptException
ScriptExceptionObject eval(String path) throws ScriptException
ScriptExceptionObject eval(String path, ScriptContext ctx) throws ScriptException
ScriptExceptionScriptEngine getEngineByFileName(String path)
ScriptEngineManager getScriptEngineManager()
Copyright © 2012 Nuxeo SA. All Rights Reserved.