public class JsPluginEngine extends Object
Constructor and Description |
---|
JsPluginEngine() |
JsPluginEngine(Boolean watchFiles) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String source) |
void |
fileChangeCallback(String jsPath) |
ScriptEngine |
getScriptEngine() |
void |
loadJavascript(String plugin,
String fullPath) |
void |
loadSandboxedJavascript(Sandbox box,
String fullPath,
JsPluginSettings pluginSettings) |
List<TestResults> |
runTestsInFile(String testFile) |
void |
runTestsInFileAndPrintResults(String testFile) |
void |
setScriptEngine(ScriptEngine scriptEngine) |
void |
shutdown() |
public JsPluginEngine()
public JsPluginEngine(Boolean watchFiles)
public void shutdown()
public void loadJavascript(String plugin, String fullPath) throws Exception
Exception
public void loadSandboxedJavascript(Sandbox box, String fullPath, JsPluginSettings pluginSettings) throws Exception
Exception
public void runTestsInFileAndPrintResults(String testFile)
public List<TestResults> runTestsInFile(String testFile)
public void fileChangeCallback(String jsPath) throws Exception
Exception
public ScriptEngine getScriptEngine()
public void setScriptEngine(ScriptEngine scriptEngine)
Copyright © 2016. All rights reserved.