Package tv.phantombot.script
Class RhinoRuntime
java.lang.Object
tv.phantombot.script.RhinoRuntime
Rhino runtime environment configuration and management.
- Author:
- sartharon
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.mozilla.javascript.tools.debugger.Maindebugger()Get the Rhino GUI debugger instancestatic org.mozilla.javascript.ContextFactoryfactory()Get the Rhino ContextFactory instance.static voidinit(boolean enableGuiDebugger) Initialize the Rhino runtime environment with optional GUI debugger.
-
Method Details
-
factory
public static org.mozilla.javascript.ContextFactory factory()Get the Rhino ContextFactory instance. -
init
public static void init(boolean enableGuiDebugger) Initialize the Rhino runtime environment with optional GUI debugger.- Parameters:
enableGuiDebugger- true to enable the GUI debugger, false otherwise.
-
debugger
public static org.mozilla.javascript.tools.debugger.Main debugger()Get the Rhino GUI debugger instance- Returns:
-