TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.tptp.trace.ui.internal.launcher.deleg.application
Class AbstractJUnitDelegate

java.lang.Object
  extended byorg.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
      extended byorg.eclipse.tptp.trace.ui.internal.launcher.deleg.application.AbstractJUnitDelegate
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
Direct Known Subclasses:
AgentDiscovererJUnitDelegate, InstrumentJUnitLauncherDelegate, PIJUnitLauncherDelegate, TIJUnitLauncherDelegate

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


Field Summary
protected  LauncherUtility.JUnitConfigurationExtended junitConfiguration
          Used to extract attributes from configuraiton
 
Fields inherited from class org.eclipse.tptp.trace.ui.provisional.launcher.AbstractProcessLauncher
conf, node
 
Constructor Summary
AbstractJUnitDelegate(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.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 LauncherUtility.JUnitConfigurationExtended junitConfiguration
Used to extract attributes from configuraiton

Constructor Detail

AbstractJUnitDelegate

public AbstractJUnitDelegate(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
Throws:
org.eclipse.core.runtime.CoreException

getWorkingDirectory

protected java.lang.String getWorkingDirectory(org.eclipse.debug.core.ILaunchConfiguration conf)

getProgramArguments

protected java.lang.String getProgramArguments(org.eclipse.debug.core.ILaunchConfiguration conf)

getMainTypeName

protected java.lang.String getMainTypeName(org.eclipse.debug.core.ILaunchConfiguration conf)

getVMArguments

protected java.lang.String getVMArguments(org.eclipse.debug.core.ILaunchConfiguration conf)

getClasspath

protected java.lang.String[] getClasspath(org.eclipse.debug.core.ILaunchConfiguration conf)

getClasspathString

protected java.lang.String getClasspathString(org.eclipse.debug.core.ILaunchConfiguration conf)
                                       throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

TPTP 4.2.0 Platform Project
Internal API Specification