Class JebPythonInterpreter

java.lang.Object
com.pnfsoftware.jeb.client.script.JebPythonInterpreter
All Implemented Interfaces:
ICommandInterpreter

public class JebPythonInterpreter extends Object implements ICommandInterpreter
Python interpreter using Jython.
  • Constructor Details

    • JebPythonInterpreter

      public JebPythonInterpreter(File scriptsDir, IClientContext ctx) throws JebException
      Create a Python command interpreter able to interact with JEB objects.
      Parameters:
      scriptsDir - optional scripts directory, will be added to the interpreter's sys.path for easy import
      ctx - optional JEB context - if provided, the context object will be made available as a global variable `jeb`
      Throws:
      Exception
      JebException
  • Method Details