TPTP 4.2.0 Platform Project
Public API Specification

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

All Known Subinterfaces:
IDataCollectorAgentLauncher, IDataCollectorMutualLauncher, IDataCollectorProcessLauncher, IDataCollectorSelfManageableLauncher
All Known Implementing Classes:
AbstractDCMutualLauncher, AbstractDCSelfManageableLauncher, AbstractPrimitiveProcessLauncher, AbstractProcessLauncher

public interface IDataCollectorBaseLauncher

Represents a common interface that is used to launch a data collector with a set of analysis types. The launch decesion tree appears below. The tree is broken down into the following interfaces:

IDataCollectorBaseLauncher isMutualLauncher()
IDataCollectorSelfManageableLauncher launch()
IDataCollectorMutualLauncher preLaunch()
isProcessLauncher()
prepareAgentLaunch()
postLaunch()
IDataCollectorProcessLauncher createProcess()
addProcessParameters()
IDataCollectorAgentLauncher prepareAgentLaunch()




              isMutualLauncher()
                  /       \
                 /         \
             [false]      [true]
               /             \
              /               \
          launch()          preLaunch()
                               |
                               |
                         isProcessLauncher()
                               /      \
                              /        \
                          [false]     [true]
                            /            \
                           /             |
                    +createNode()    +createNode()
                         /               |
               prepareAgentLaunch()  +createProcess()  
                       /                 |             
                      /                  |             
                postLaunch()             |
                                getProcessParameters()
                                         |
                                 configuratProcess()
                                         |
                                    createAgent()
                                         |
                                     postLaunch()
 
 +createNode() or createProcess() will not be called if an earlier delegate has already created 
 the node/process.
 


Method Summary
 boolean isMutualLauncher()
          Returns true if the launcher wishes to manage the launch process itself rather than have the primary launcher code handling it; false otherwise
 

Method Detail

isMutualLauncher

public boolean isMutualLauncher()
Returns true if the launcher wishes to manage the launch process itself rather than have the primary launcher code handling it; false otherwise

Returns:
A boolean indicating whether launch should be handled without the involvement of the general launch delegate

TPTP 4.2.0 Platform Project
Public API Specification