TPTP 4.2.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.execution.harness
Class DebugExecutorStub

java.lang.Object
  extended byorg.eclipse.hyades.execution.local.RemoteObjectStub
      extended byorg.eclipse.hyades.execution.local.ExecutionComponentStub
          extended byorg.eclipse.hyades.execution.local.ExecutorStub
              extended byorg.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub
                  extended byorg.eclipse.hyades.execution.harness.DebugExecutorStub
All Implemented Interfaces:
IDataProcessorObservable.Observer, org.eclipse.hyades.execution.core.IExecutionComponent, org.eclipse.hyades.execution.core.IExecutor, org.eclipse.hyades.execution.core.IExecutorWithProgressMonitorSupport, org.eclipse.hyades.execution.invocation.IRemoteObject

public class DebugExecutorStub
extends TestExecutionHarnessExecutorStub

This executor is identical to TestExecutionHarnessExecutorStub but launches the process in debug mode and attaches the eclipse debugger to it.


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.local.ExecutorStub
agentInitCount, dataProcessors
 
Fields inherited from class org.eclipse.hyades.execution.local.RemoteObjectStub
delegate, sessionContext, uniqueId
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutor
CONTROL_EVENT_RESUME, CONTROL_EVENT_SUSPEND
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED
 
Constructor Summary
DebugExecutorStub()
           
 
Method Summary
protected  boolean isDebugMode()
          Returns whether the process should be launched in debug mode and the Eclipse debugger attached to it.
 
Methods inherited from class org.eclipse.hyades.execution.harness.TestExecutionHarnessExecutorStub
clean, debugAndLaunch, doLaunch, getAgentListener, getAgentProcess, getLaunchTimeout, getState, launch, launch, performControlEvent, resume, setupDataProcessor, start, stop, supportsControlEvent
 
Methods inherited from class org.eclipse.hyades.execution.local.ExecutorStub
findAgent, findProcess, getCommunicationPort, getCompatibleExecutableObject, getDataProcessors, getExecutableObject, getExecutionResultLocation, getExecutionResultName, getPid, getProcessConsole, kill, kill, resetAgentInitCount, setCommunicationPort, setDataProcessors, setExecutableObject, setExecutionResultLocation, setExecutionResultName, setupControlListener, waitForAgent, waitForProcess
 
Methods inherited from class org.eclipse.hyades.execution.local.ExecutionComponentStub
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 
Methods inherited from class org.eclipse.hyades.execution.local.RemoteObjectStub
delegateRemoteCall, getDelegate, getSessionContext, getUniqueId, setDelegate, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 

Constructor Detail

DebugExecutorStub

public DebugExecutorStub()
Method Detail

isDebugMode

protected boolean isDebugMode()
Description copied from class: TestExecutionHarnessExecutorStub
Returns whether the process should be launched in debug mode and the Eclipse debugger attached to it. This implementation always returns false. Sub-classes should override this method if debugging is needed.

Overrides:
isDebugMode in class TestExecutionHarnessExecutorStub

TPTP 4.2.0 Testing Tools Project
Public API Specification