Interface IExecutionListener

All Known Subinterfaces:
ICodeTraceFilter
All Known Implementing Classes:
AbstractDropin, AbstractEaseDebugger, Py4jDebugger, PyDevPathImporter, PythonDebugger, RemoveCurrentConsoleAction, ResourceProjectPathImporter, ScriptConsole, ScriptHistoryText, ScriptService, ScriptShell

public interface IExecutionListener
Interface to be implemented by any class interested in getting notified of script execution event.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int ENGINE_END
    Event execution ended.
    static int ENGINE_START
    Event execution ended.
    static int SCRIPT_END
    Event script execution ended.
    static int SCRIPT_INJECTION_END
    Event injected script (subscript) ended.
    static int SCRIPT_INJECTION_START
    Event injected script (subscript) started.
    static int SCRIPT_START
    Event script execution started.
  • Method Summary

    Modifier and Type Method Description
    void notify​(IScriptEngine engine, Script script, int status)
    Notifies the listeners when script execution started/ended or when the engine itself is started/ended.
  • Field Details

    • ENGINE_START

      static final int ENGINE_START
      Event execution ended.
      See Also:
      Constant Field Values
    • ENGINE_END

      static final int ENGINE_END
      Event execution ended.
      See Also:
      Constant Field Values
    • SCRIPT_START

      static final int SCRIPT_START
      Event script execution started.
      See Also:
      Constant Field Values
    • SCRIPT_END

      static final int SCRIPT_END
      Event script execution ended.
      See Also:
      Constant Field Values
    • SCRIPT_INJECTION_START

      static final int SCRIPT_INJECTION_START
      Event injected script (subscript) started.
      See Also:
      Constant Field Values
    • SCRIPT_INJECTION_END

      static final int SCRIPT_INJECTION_END
      Event injected script (subscript) ended.
      See Also:
      Constant Field Values
  • Method Details

    • notify

      void notify​(IScriptEngine engine, Script script, int status)
      Notifies the listeners when script execution started/ended or when the engine itself is started/ended.
      Parameters:
      engine - Script Engine
      script - Script or null
      status - Event Status