|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.execution.local.RemoteObjectStub
org.eclipse.hyades.execution.local.ExecutionComponentStub
org.eclipse.hyades.execution.local.ExecutorStub
public abstract class ExecutorStub
| Field Summary | |
|---|---|
IDataProcessor[] |
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 | |
|---|---|
ExecutorStub()
|
|
ExecutorStub(IExecutionComponent delegate)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCommunicationPort()
|
IExecutableObject |
getCompatibleExecutableObject(java.lang.String classname)
Create an IExecutableObject instance that is compatible
with this executor. |
IDataProcessor[] |
getDataProcessors()
returns the array of IDataProcessors which are to monitor this executor |
IExecutableObject |
getExecutableObject()
|
java.lang.String |
getExecutionResultLocation()
|
java.lang.String |
getExecutionResultName()
|
java.lang.String |
getPid()
returns the process ID of this executor. |
IProcessConsole |
getProcessConsole()
Return the process console of the current executor |
void |
kill()
Kills this process if it is active. |
void |
kill(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Kill using the given progress monitor, this progress monitor will be used for progress reports as work units are complete and for polling the cancel status of the monitor. |
void |
launch()
Launches the executable on this ISession's node |
void |
launch(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Launch using the given progress monitor, this progress monitor will be used for progress reports as work units are complete and for polling the cancel status of the monitor. |
void |
setCommunicationPort(java.lang.String communicationPort)
|
void |
setDataProcessors(IDataProcessor[] processors)
called to set the IDataProcessor collection. |
void |
setExecutableObject(IExecutableObject theExecutableObject)
Associate an executable object with this executor. |
void |
setExecutionResultLocation(java.lang.String string)
|
void |
setExecutionResultName(java.lang.String string)
|
| 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.IExecutor |
|---|
performControlEvent, supportsControlEvent |
| 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 |
| Field Detail |
|---|
public IDataProcessor[] dataProcessors
| Constructor Detail |
|---|
public ExecutorStub()
public ExecutorStub(IExecutionComponent delegate)
| Method Detail |
|---|
public void launch(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
IExecutorWithProgressMonitorSupport
launch in interface IExecutorWithProgressMonitorSupport
public void launch()
throws ExecutionComponentStateException
IExecutor
launch in interface IExecutorExecutionComponentStateExceptionIExecutor.launch()
public void kill(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws ExecutionComponentStateException
IExecutorWithProgressMonitorSupport
kill in interface IExecutorWithProgressMonitorSupportExecutionComponentStateException
public void kill()
throws ExecutionComponentStateException
IExecutor
kill in interface IExecutorExecutionComponentStateExceptionIExecutor.kill()
public void setExecutableObject(IExecutableObject theExecutableObject)
throws ExecutionComponentStateException
setExecutableObject in interface IExecutortheExecutableObject - An IExecutableObject instance which describes
the executable in a manner understood by this IExecutor.
ExecutionComponentStateException - If the IExecutor is not in a
valid state to accept an IExecutableObject.IExecutor.setExecutableObject(org.eclipse.hyades.execution.core.IExecutableObject)public IExecutableObject getExecutableObject()
getExecutableObject in interface IExecutorIExecutor.getExecutableObject()
public IProcessConsole getProcessConsole()
throws ExecutionComponentStateException
IExecutor
getProcessConsole in interface IExecutorExecutionComponentStateException
public IExecutableObject getCompatibleExecutableObject(java.lang.String classname)
throws java.lang.ClassNotFoundException
IExecutableObject instance that is compatible
with this executor.
The implementation of this method differs from the norm, as no
responsibilities are delegated to the delegate object. Instead, the
creation of the executable object is handled completely by the
stub/skeleton combination.
getCompatibleExecutableObject in interface IExecutorJavaTaskExcutableObjectStub
java.lang.ClassNotFoundExceptionpublic java.lang.String getExecutionResultLocation()
public java.lang.String getExecutionResultName()
public void setExecutionResultLocation(java.lang.String string)
string - public void setExecutionResultName(java.lang.String string)
string - public IDataProcessor[] getDataProcessors()
public void setDataProcessors(IDataProcessor[] processors)
processors - public java.lang.String getPid()
public java.lang.String getCommunicationPort()
public void setCommunicationPort(java.lang.String communicationPort)
communicationPort - The communicationPort to set.
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||