TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.remote
Class JavaTaskExecutableObjectSkeleton

java.lang.Object
  extended byorg.eclipse.hyades.execution.remote.RemoteObjectSkeleton
      extended byorg.eclipse.hyades.execution.remote.ExecutableObjectSkeleton
          extended byorg.eclipse.hyades.execution.remote.JavaTaskExecutableObjectSkeleton
All Implemented Interfaces:
IExecutableObject, IJavaTaskExecutableObject, IRemoteObject

public class JavaTaskExecutableObjectSkeleton
extends ExecutableObjectSkeleton
implements IJavaTaskExecutableObject

Implemented in this class are the semantics of running a test within the same process as the session context.


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.remote.RemoteObjectSkeleton
delegate, sessionContext, uniqueId
 
Constructor Summary
JavaTaskExecutableObjectSkeleton()
           
 
Method Summary
 void run()
           
 void runAsSeparateThread(boolean value)
           
 void start()
          Spin a thread, within the context of which, run() will be called.
 void stop()
          This implementation calls Thread.stop(), which is deprecated.
 
Methods inherited from class org.eclipse.hyades.execution.remote.ExecutableObjectSkeleton
getExecutor, getName, init, setExecutor
 
Methods inherited from class org.eclipse.hyades.execution.remote.RemoteObjectSkeleton
delegateRemoteCall, getDelegate, getSessionContext, getUniqueId, setDelegate, setId, 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.IExecutableObject
getExecutor, getName, init, setExecutor
 

Constructor Detail

JavaTaskExecutableObjectSkeleton

public JavaTaskExecutableObjectSkeleton()
Method Detail

run

public void run()
Specified by:
run in interface IJavaTaskExecutableObject
See Also:
org.eclipse.hyades.execution.core.impl.IJavaTaskExecutableObject.run()

start

public void start()
Spin a thread, within the context of which, run() will be called. This method returns without run() having necessarily been called. run() will not be called until the containing executor instance gives the go-ahead (via the START_TEST command).

Specified by:
start in interface IJavaTaskExecutableObject
See Also:
IJavaTaskExecutableObject.start()

stop

public void stop()
This implementation calls Thread.stop(), which is deprecated. We'll need to find another way for the test to find out that it is supposed to stop running and do so in an orderly fashion.

Specified by:
stop in interface IJavaTaskExecutableObject
See Also:
IJavaTaskExecutableObject.stop()

runAsSeparateThread

public void runAsSeparateThread(boolean value)

TPTP 4.4.0 Platform Project
Public API Specification