TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.core
Interface IExecutorWithProgressMonitorSupport

All Superinterfaces:
IExecutionComponent, IExecutor
All Known Implementing Classes:
ExecutorStub

public interface IExecutorWithProgressMonitorSupport
extends IExecutor

A subinterface of executor that adds progress support through overloading the superinterface's launch and kill methods. Concrete class should implement this interface instead of the base executor interface if progress tracking and the ability to cancel a launch or kill of an executor is desired.


Field Summary
 
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
 
Method Summary
 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(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.
 
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutor
getCompatibleExecutableObject, getExecutableObject, getProcessConsole, kill, launch, performControlEvent, setExecutableObject, 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
 

Method Detail

launch

public 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.

Parameters:
progressMonitor -

kill

public 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.

Parameters:
progressMonitor -

TPTP 4.4.0 Platform Project
Public API Specification