org.eclipse.hyades.execution.core
Interface IExecutor
- All Superinterfaces:
- IExecutionComponent
- public interface IExecutor
- extends IExecutionComponent
An IExecutor class is a class that, given an IExecutableObject, is capable
of launching and killing the executable represented by that IExecutableObject.
It is expected that IExecutionEnvironment, IExecutor and IExecutableObject
will be the standard specializations for executing different test types
under the Hyades framework.
- Version:
- 0.0.2
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent |
addChild, createChild, getChildById, getChildByName, getChildren, getChildren, getChildren, getId, getName, getNode, getParent, getType, getVersion, isDead, isInactive, isReady, isSuspended |
launch
public void launch()
throws ExecutionComponentStateException
- Launches the executable on this ISession's node
- Throws:
ExecutionComponentStateException
-
kill
public void kill()
throws ExecutionComponentStateException
- Kills this process if it is active.
setExecutableObject
public void setExecutableObject(IExecutableObject theExecutableObject)
throws ExecutionComponentStateException
- Set the executable object. The executable object contains all
information necessary to execute within the parent execution environment
- Parameters:
theExecutableObject
- An IExecutableObject instance which describes
the executable in a manner understood by this IExecutor.- Throws:
ExecutionComponentStateException
- If the IExecutor is not in a
valid state to accept an IExecutableObject.