org.nuxeo.ecm.core.event.script
Class FakeCompiledScript
java.lang.Object
javax.script.CompiledScript
org.nuxeo.ecm.core.event.script.FakeCompiledScript
public class FakeCompiledScript
- extends CompiledScript
Simulates a compiled script for scripts that don't support
compilation.
- Author:
- Bogdan Stefanescu
FakeCompiledScript
public FakeCompiledScript(ScriptEngine engine,
Script script)
eval
public Object eval(ScriptContext arg0)
throws ScriptException
- Specified by:
eval
in class CompiledScript
- Throws:
ScriptException
getEngine
public ScriptEngine getEngine()
- Specified by:
getEngine
in class CompiledScript
Copyright © 2011 Nuxeo SAS. All Rights Reserved.