org.eclipse.ocl.examples.debug.vm.launching
Interface VMDebuggableExecutorAdapter


public interface VMDebuggableExecutorAdapter


Method Summary
 void connect(IVMDebuggerShell debugShell)
          Connects this adapter to the debugger which will partipate in the execution process
 org.eclipse.emf.common.util.Diagnostic execute(VMStartRequest startRequest)
          Causes to run the executor behind this adapter
 CompiledUnit getUnit()
          Gets the main compiled unit to be executed
 

Method Detail

connect

void connect(@NonNull
             IVMDebuggerShell debugShell)
Connects this adapter to the debugger which will partipate in the execution process

Parameters:
debugShell -

execute

org.eclipse.emf.common.util.Diagnostic execute(@NonNull
                                               VMStartRequest startRequest)
                                               throws java.lang.IllegalStateException
Causes to run the executor behind this adapter

Returns:
the status of finished execution
Throws:
java.lang.IllegalStateException - if this adapter is not connected to debugger

getUnit

@Nullable
CompiledUnit getUnit()
Gets the main compiled unit to be executed

Returns:
the unit object