TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.integration.pde.internal.delegators
Class AbstractJUnitPluginDelegate

java.lang.Object
  extended by org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
      extended by org.eclipse.tptp.platform.integration.pde.internal.delegators.AbstractJUnitPluginDelegate
All Implemented Interfaces:
org.eclipse.tptp.trace.ui.provisional.launcher.IDataCollectorBaseLauncher, org.eclipse.tptp.trace.ui.provisional.launcher.IDataCollectorMutualLauncher, org.eclipse.tptp.trace.ui.provisional.launcher.IDataCollectorProcessLauncher, org.eclipse.tptp.trace.ui.provisional.launcher.IParameterExtractor
Direct Known Subclasses:
AgentDiscovererJUnitPluginDelegate, InstrumentJUnitPluginLauncherDelegate, PIJUnitPluginLauncherDelegate, TIInstrumentJUnitPluginLauncherDelegate, TIJUnitPluginDelegate

public abstract class AbstractJUnitPluginDelegate
extends org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher


Field Summary
protected  PDEIntegrationLauncherUtility.JUnitPluginConfigurationExtended junitConfiguration
          Used to extract attributes from configuraiton
 
Fields inherited from class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
conf, node
 
Constructor Summary
AbstractJUnitPluginDelegate(java.lang.String agentName, java.lang.String agentType)
           
 
Method Summary
protected  java.lang.String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration conf)
           
protected  java.lang.String getClasspathString(org.eclipse.debug.core.ILaunchConfiguration conf)
           
protected  java.util.ArrayList getLaunchTypeWorkspaceFilters(org.eclipse.debug.core.ILaunchConfiguration config)
           
protected  java.lang.String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration conf)
           
protected  java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration conf)
           
protected  java.lang.String getVMArguments(org.eclipse.debug.core.ILaunchConfiguration conf)
           
protected  java.lang.String getWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 void preLaunch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
configureProcess, createAgent, createNode, createProcess, getAgentName, getAgentType, getClassPath, getHostName, getLocation, getPortNumber, getProcessParameters, getProfileFile, isMutualLauncher, isProcessLauncher, postLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

junitConfiguration

protected PDEIntegrationLauncherUtility.JUnitPluginConfigurationExtended junitConfiguration
Used to extract attributes from configuraiton

Constructor Detail

AbstractJUnitPluginDelegate

public AbstractJUnitPluginDelegate(java.lang.String agentName,
                                   java.lang.String agentType)
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
Specified by:
preLaunch in interface org.eclipse.tptp.trace.ui.provisional.launcher.IDataCollectorMutualLauncher
Overrides:
preLaunch in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
Throws:
org.eclipse.core.runtime.CoreException

getWorkingDirectory

protected java.lang.String getWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration conf)
Specified by:
getWorkingDirectory in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher

getProgramArguments

protected java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration conf)
Specified by:
getProgramArguments in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher

getMainTypeName

protected java.lang.String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration conf)
Specified by:
getMainTypeName in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher

getVMArguments

protected java.lang.String getVMArguments(org.eclipse.debug.core.ILaunchConfiguration conf)
Specified by:
getVMArguments in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher

getClasspath

protected java.lang.String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration conf)
Specified by:
getClasspath in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher

getClasspathString

protected java.lang.String getClasspathString(org.eclipse.debug.core.ILaunchConfiguration conf)
                                       throws org.eclipse.core.runtime.CoreException
Overrides:
getClasspathString in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
Throws:
org.eclipse.core.runtime.CoreException

getLaunchTypeWorkspaceFilters

protected java.util.ArrayList getLaunchTypeWorkspaceFilters(org.eclipse.debug.core.ILaunchConfiguration config)
                                                     throws org.eclipse.core.runtime.CoreException
Overrides:
getLaunchTypeWorkspaceFilters in class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
Throws:
org.eclipse.core.runtime.CoreException

TPTP 4.5.0 Platform Project
Internal API Specification