|
TPTP 4.2.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.core.impl.ExecutionComponentImpl
org.eclipse.hyades.execution.core.impl.JavaTaskExecutorImpl
| Field Summary |
|---|
| Fields inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl |
|---|
children, id, name, node, parent, state, stateChangeListeners, type, version |
| 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 | |
|---|---|
JavaTaskExecutorImpl()
|
|
| Method Summary | |
|---|---|
protected void |
checkConfiguration()
Insure this executor has been been appropriately configured for the requested operation. |
IExecutableObject |
getCompatibleExecutableObject(java.lang.String classname)
Returns an empty instance of an IExecutableObject that is compatible with this IExecutor. |
IExecutableObject |
getExecutableObject()
|
IProcessConsole |
getProcessConsole()
Return the process console of the current executor |
void |
kill()
Kills this process if it is active. |
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. |
void |
setExecutableObject(IExecutableObject theExecutableObject)
Set the executable object. |
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.core.impl.ExecutionComponentImpl |
|---|
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent |
| 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, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent |
| Constructor Detail |
public JavaTaskExecutorImpl()
| Method Detail |
public void launch()
throws ExecutionComponentStateException
IExecutor
launch in interface IExecutorExecutionComponentStateExceptionIExecutor.launch()
public void kill()
throws ExecutionComponentStateException
IExecutor
kill in interface IExecutorExecutionComponentStateExceptionIExecutor.kill()
public void setExecutableObject(IExecutableObject theExecutableObject)
throws ExecutionComponentStateException
IExecutor
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 IExecutorExecutionComponentStateExceptionIExecutor.getProcessConsole()
public IExecutableObject getCompatibleExecutableObject(java.lang.String classname)
throws java.lang.ClassNotFoundException
IExecutorIssue: Do we want this to be the ExecutableObject (thus replacing the setExecutableObject() method), and if so, how do we know when to pass the object across the wire (since the IExecutor doing the real work won't be the same instance of IExecutor that contains this IExecutableObject.)
getCompatibleExecutableObject in interface IExecutorjava.lang.ClassNotFoundExceptionorg.eclipse.hyades.execution.core.IExecutor#getCompatibleExecutableObject()
protected void checkConfiguration()
throws ExecutionComponentStateException
ExecutionComponentStateExceptionpublic boolean supportsControlEvent(java.lang.String controlEvent)
IExecutor
supportsControlEvent in interface IExecutorcontrolEvent - Contol Event in question.
public java.lang.String performControlEvent(java.lang.String controlEvent,
java.lang.String[] params)
IExecutor
performControlEvent in interface IExecutorcontrolEvent - Contol Event to perform.
|
TPTP 4.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||