Class JythonScriptEngine

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.ease.AbstractScriptEngine
org.eclipse.ease.AbstractReplScriptEngine
org.eclipse.ease.lang.python.jython.JythonScriptEngine
All Implemented Interfaces:
Comparable, org.eclipse.core.runtime.IAdaptable, IReplEngine, IScriptEngine

public class JythonScriptEngine
extends AbstractReplScriptEngine
  • Field Details

  • Constructor Details

    • JythonScriptEngine

      public JythonScriptEngine()
  • Method Details

    • terminateCurrent

      public void terminateCurrent()
      Description copied from interface: IScriptEngine
      Stops the currently executed piece of code. Will continue to execute the next scheduled piece of code.
    • setOutputStream

      public void setOutputStream​(OutputStream outputStream)
      Description copied from interface: IScriptEngine
      Set the default output stream for the interpreter.
      Specified by:
      setOutputStream in interface IScriptEngine
      Overrides:
      setOutputStream in class AbstractScriptEngine
      Parameters:
      outputStream - default output stream
    • setInputStream

      public void setInputStream​(InputStream inputStream)
      Description copied from interface: IScriptEngine
      Set the default input stream for the interpreter.
      Specified by:
      setInputStream in interface IScriptEngine
      Overrides:
      setInputStream in class AbstractScriptEngine
      Parameters:
      inputStream - default input stream
    • setErrorStream

      public void setErrorStream​(OutputStream errorStream)
      Description copied from interface: IScriptEngine
      Set the default error stream for the interpreter.
      Specified by:
      setErrorStream in interface IScriptEngine
      Overrides:
      setErrorStream in class AbstractScriptEngine
      Parameters:
      errorStream - default error stream
    • registerJar

      public void registerJar​(URL url)
      Description copied from interface: IScriptEngine
      Register a jar file and add it to the classpath. After registering, classes within the jar file shall be usable within the script.
      Parameters:
      url - url to load jar file from