TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local
Class JavaProcessExecutorStub

java.lang.Object
  extended by org.eclipse.hyades.execution.local.RemoteObjectStub
      extended by org.eclipse.hyades.execution.local.ExecutionComponentStub
          extended by org.eclipse.hyades.execution.local.ExecutorStub
              extended by org.eclipse.hyades.execution.local.JavaProcessExecutorStub
All Implemented Interfaces:
IExecutionComponent, IExecutor, IExecutorWithProgressMonitorSupport, IRemoteObject

public class JavaProcessExecutorStub
extends ExecutorStub


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.local.ExecutorStub
dataProcessors
 
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
JavaProcessExecutorStub()
           
 
Method Summary
 void launch()
          Launches the executable on this ISession's node
 java.lang.String performControlEvent(java.lang.String controlEvent, java.lang.String[] params)
          Performs the control event specified.
 boolean supportsControlEvent(java.lang.String controlEvent)
          Returns a boolean specifying whether the control event specified is supported.
 
Methods inherited from class org.eclipse.hyades.execution.local.ExecutorStub
getCommunicationPort, getCompatibleExecutableObject, getDataProcessors, getExecutableObject, getExecutionResultLocation, getExecutionResultName, getPid, getProcessConsole, kill, kill, launch, setCommunicationPort, setDataProcessors, setExecutableObject, setExecutionResultLocation, setExecutionResultName
 
Methods inherited from class org.eclipse.hyades.execution.local.ExecutionComponentStub
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, 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
equals, 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, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 

Constructor Detail

JavaProcessExecutorStub

public JavaProcessExecutorStub()
Method Detail

launch

public void launch()
            throws ExecutionComponentStateException
Description copied from interface: IExecutor
Launches the executable on this ISession's node

Specified by:
launch in interface IExecutor
Overrides:
launch in class ExecutorStub
Throws:
ExecutionComponentStateException
See Also:
IExecutor.launch()

supportsControlEvent

public boolean supportsControlEvent(java.lang.String controlEvent)
Description copied from interface: IExecutor
Returns a boolean specifying whether the control event specified is supported.

Parameters:
controlEvent - Contol Event in question.
Returns:
Specifies whether the control event is supported.

performControlEvent

public java.lang.String performControlEvent(java.lang.String controlEvent,
                                            java.lang.String[] params)
Description copied from interface: IExecutor
Performs the control event specified.

Parameters:
controlEvent - Contol Event to perform.
Returns:
Error Message if error occurred. Otherwise null.

TPTP 4.5.0 Platform Project
Public API Specification