TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local
Class ExecutableObjectStub

java.lang.Object
  extended by org.eclipse.hyades.execution.local.RemoteObjectStub
      extended by org.eclipse.hyades.execution.local.ExecutableObjectStub
All Implemented Interfaces:
IExecutableObject, IRemoteObject
Direct Known Subclasses:
JavaProcessExecutableObjectStub, JavaTaskExecutableObjectStub

public class ExecutableObjectStub
extends RemoteObjectStub
implements IExecutableObject

Instances of this type provide remote invocation semantics for IExecutableObject instances. Executable objects are not necessarily serializable; and it it is not desirable to pass these objects between VMs, so we add remote semantics to executable objects. Executable objects are created on the remote side and their methods are invoked via the semantics provided by ExecutableObjectStubs.


Constructor Summary
ExecutableObjectStub()
           
ExecutableObjectStub(IExecutableObject delegate)
           
 
Method Summary
 IExecutor getExecutor()
           
 java.lang.String getName()
           
 java.lang.String getSuiteID()
           
 java.lang.String getTestID()
           
 void setExecutor(IExecutor executor)
          Associate the delegate executable object with an executor.
 void setSuiteID(java.lang.String string)
           
 void setTestID(java.lang.String string)
           
 
Methods inherited from class org.eclipse.hyades.execution.local.RemoteObjectStub
delegateRemoteCall, getDelegate, getSessionContext, getUniqueId, init, setDelegate, setSessionContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutableObject
init
 

Constructor Detail

ExecutableObjectStub

public ExecutableObjectStub()

ExecutableObjectStub

public ExecutableObjectStub(IExecutableObject delegate)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface IExecutableObject
Returns:
the name of the IExecutableObject.
See Also:
IExecutableObject.getName()

getExecutor

public IExecutor getExecutor()
Specified by:
getExecutor in interface IExecutableObject
Returns:
See Also:
IExecutableObject.getExecutor()

setExecutor

public void setExecutor(IExecutor executor)
Associate the delegate executable object with an executor. This operation is performed locally and remotely.

Specified by:
setExecutor in interface IExecutableObject
See Also:
IExecutableObject.setExecutor(org.eclipse.hyades.execution.core.IExecutor)

getSuiteID

public java.lang.String getSuiteID()
Returns:

getTestID

public java.lang.String getTestID()
Returns:

setSuiteID

public void setSuiteID(java.lang.String string)
Parameters:
string -

setTestID

public void setTestID(java.lang.String string)
Parameters:
string -

TPTP 4.6.0 Platform Project
Public API Specification