TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.trace.ui.provisional.launcher
Interface IDataCollectorMutualLauncher

All Superinterfaces:
IDataCollectorBaseLauncher
All Known Subinterfaces:
IDataCollectorAgentLauncher, IDataCollectorProcessLauncher
All Known Implementing Classes:
AbstractDCMutualLauncher, AbstractPrimitiveProcessLauncher, AbstractProcessLauncher

public interface IDataCollectorMutualLauncher
extends IDataCollectorBaseLauncher

The base interface for a mutual launcher. See IDataCollectorBaseLauncher for more details. A mutual launcher will co-exist and collaborate with other launchers to use the same model entities when performing a launch.


Method Summary
 org.eclipse.hyades.internal.execution.local.control.Node createNode()
          Creates the execution node and returns the resolved node name.
 boolean isProcessLauncher()
          Returns true if the launcher will be creating a execution process object that will be launched later.
 void postLaunch(org.eclipse.core.runtime.IStatus launchStatus)
          Invoked for the launcher to have the chance of performing any post-launch operations necessary.
 void preLaunch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
          A chance for the launcher to collect the necessary attributes from the configuration and prepare for the launch of the process.
 
Methods inherited from interface org.eclipse.tptp.trace.ui.provisional.launcher.IDataCollectorBaseLauncher
isMutualLauncher
 

Method Detail

preLaunch

public void preLaunch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                      java.lang.String mode,
                      org.eclipse.debug.core.ILaunch launch,
                      org.eclipse.core.runtime.IProgressMonitor monitor)
               throws org.eclipse.core.runtime.CoreException
A chance for the launcher to collect the necessary attributes from the configuration and prepare for the launch of the process.

Parameters:
configuration - The launch configuration
mode - The mode of the launch
launch - The launch
monitor - The monitor
Throws:
org.eclipse.core.runtime.CoreException

isProcessLauncher

public boolean isProcessLauncher()
Returns true if the launcher will be creating a execution process object that will be launched later.

Returns:
A boolean indicating whether the launcher will launch an actual process.

createNode

public org.eclipse.hyades.internal.execution.local.control.Node createNode()
Creates the execution node and returns the resolved node name.

Returns:
The primary launcher doesn't use the returned value. In fact the returned value can be null if contributors choose not to use the execution framework.

postLaunch

public void postLaunch(org.eclipse.core.runtime.IStatus launchStatus)
                throws org.eclipse.core.runtime.CoreException
Invoked for the launcher to have the chance of performing any post-launch operations necessary.

Parameters:
launchStatus - Indicates the overall status of the launch process
Throws:
org.eclipse.core.runtime.CoreException

TPTP 4.2.0 Platform Project
Public API Specification