Package org.eclipse.epsilon.eol.dap
Class EpsilonDebugAdapter.ModuleCompletionListener
java.lang.Object
org.eclipse.epsilon.eol.dap.EpsilonDebugAdapter.ModuleCompletionListener
- All Implemented Interfaces:
IExecutionListener
- Enclosing class:
- EpsilonDebugAdapter
protected class EpsilonDebugAdapter.ModuleCompletionListener
extends Object
implements IExecutionListener
Keeps track of the modules that start and complete execution. Note that there should
only be exactly one instance of this listener per execution: the same listener should
be propagated across all scripts being launched (e.g. from EGX to EGL scripts).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaboutToExecute(ModuleElement ast, IEolContext context) voidfinishedExecuting(ModuleElement ast, Object result, IEolContext context) voidfinishedExecutingWithException(ModuleElement ast, EolRuntimeException exception, IEolContext context) protected IEolModulegetModule(ModuleElement ast) protected voidremoveThreadFor(IEolModule module)
-
Constructor Details
-
ModuleCompletionListener
protected ModuleCompletionListener()
-
-
Method Details
-
aboutToExecute
- Specified by:
aboutToExecutein interfaceIExecutionListener
-
getModule
-
finishedExecuting
- Specified by:
finishedExecutingin interfaceIExecutionListenerresult- the result of evaluating ast, calculated during execution
-
finishedExecutingWithException
public void finishedExecutingWithException(ModuleElement ast, EolRuntimeException exception, IEolContext context) - Specified by:
finishedExecutingWithExceptionin interfaceIExecutionListener
-
removeThreadFor
-