PTP
Release 5.0

org.eclipse.ptp.debug.core.launch
Interface IPLaunch

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.ILaunch, org.eclipse.debug.core.model.ITerminate
All Known Implementing Classes:
PLaunch

public interface IPLaunch
extends org.eclipse.debug.core.ILaunch

Extend ILaunch to support parallel debug jobs


Method Summary
 IPDebugTarget getDebugTarget(int procId)
          Get the IPDebugTarget responsible for the procId.
 IPDebugTarget getDebugTarget(TaskSet procs)
          Get the IPDebugTarget responsible for the processes in procs
 String getJobId()
          Get the job ID associated with this launch
 org.eclipse.ptp.rmsystem.IResourceManager getResourceManager()
          Get the resource manager used to launch the job
 void setJobId(String jobId)
          Set the job ID associated with this launch
 void setResourceManager(org.eclipse.ptp.rmsystem.IResourceManager rm)
          Set the resource manager used to launch the job
 
Methods inherited from interface org.eclipse.debug.core.ILaunch
addDebugTarget, addProcess, getAttribute, getChildren, getDebugTarget, getDebugTargets, getLaunchConfiguration, getLaunchMode, getProcesses, getSourceLocator, hasChildren, removeDebugTarget, removeProcess, setAttribute, setSourceLocator
 
Methods inherited from interface org.eclipse.debug.core.model.ITerminate
canTerminate, isTerminated, terminate
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getDebugTarget

IPDebugTarget getDebugTarget(int procId)
Get the IPDebugTarget responsible for the procId.

Parameters:
procId - process we're interested in
Returns:
IPDebugTarget responsible for procId

getDebugTarget

IPDebugTarget getDebugTarget(TaskSet procs)
Get the IPDebugTarget responsible for the processes in procs

Parameters:
tasks - TaskSet containing processes we're interested in
Returns:
IPDebugTarget responsible for processes
Since:
4.0

getJobId

String getJobId()
Get the job ID associated with this launch

Returns:
job id
Since:
5.0

getResourceManager

org.eclipse.ptp.rmsystem.IResourceManager getResourceManager()
Get the resource manager used to launch the job

Returns:
resource manager used to launch the job
Since:
5.0

setJobId

void setJobId(String jobId)
Set the job ID associated with this launch

Parameters:
jobId -
Since:
5.0

setResourceManager

void setResourceManager(org.eclipse.ptp.rmsystem.IResourceManager rm)
Set the resource manager used to launch the job

Parameters:
rm -
Since:
5.0

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.