Class RhinoRuntime

java.lang.Object
tv.phantombot.script.RhinoRuntime

public final class RhinoRuntime extends Object
Rhino runtime environment configuration and management.
Author:
sartharon
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.mozilla.javascript.tools.debugger.Main
    Get the Rhino GUI debugger instance
    static org.mozilla.javascript.ContextFactory
    Get the Rhino ContextFactory instance.
    static void
    init(boolean enableGuiDebugger)
    Initialize the Rhino runtime environment with optional GUI debugger.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: