PTP
Release 5.0

org.eclipse.ptp.debug.core.launch
Class PLaunch

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.debug.core.Launch
          extended by org.eclipse.ptp.debug.core.launch.PLaunch
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.IDebugEventSetListener, org.eclipse.debug.core.ILaunch, org.eclipse.debug.core.ILaunchConfigurationListener, org.eclipse.debug.core.ILaunchListener, org.eclipse.debug.core.model.IDisconnect, org.eclipse.debug.core.model.ITerminate, IPLaunch

public class PLaunch
extends org.eclipse.debug.core.Launch
implements IPLaunch

Since:
5.0

Constructor Summary
PLaunch(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration, String mode, org.eclipse.debug.core.model.ISourceLocator locator)
           
 
Method Summary
 IPDebugTarget getDebugTarget(int task_id)
          Get the IPDebugTarget responsible for the procId.
 IPDebugTarget getDebugTarget(TaskSet tasks)
          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
 boolean isTerminated()
           
 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 class org.eclipse.debug.core.Launch
addDebugTarget, addProcess, addProcesses, canDisconnect, canTerminate, disconnect, fireChanged, fireTerminate, getAdapter, getAttribute, getChildren, getDebugTarget, getDebugTargets, getDebugTargets0, getLaunchConfiguration, getLaunchManager, getLaunchMode, getProcesses, getProcesses0, getSourceLocator, handleDebugEvents, hasChildren, isDisconnected, launchAdded, launchChanged, launchConfigurationAdded, launchConfigurationChanged, launchConfigurationRemoved, launchRemoved, removeDebugTarget, removeProcess, setAttribute, setSourceLocator, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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, terminate
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

PLaunch

public PLaunch(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration,
               String mode,
               org.eclipse.debug.core.model.ISourceLocator locator)
Method Detail

getDebugTarget

public IPDebugTarget getDebugTarget(int task_id)
Description copied from interface: IPLaunch
Get the IPDebugTarget responsible for the procId.

Specified by:
getDebugTarget in interface IPLaunch
Parameters:
task_id - process we're interested in
Returns:
IPDebugTarget responsible for procId

getDebugTarget

public IPDebugTarget getDebugTarget(TaskSet tasks)
Description copied from interface: IPLaunch
Get the IPDebugTarget responsible for the processes in procs

Specified by:
getDebugTarget in interface IPLaunch
Returns:
IPDebugTarget responsible for processes
Since:
4.0

getJobId

public String getJobId()
Description copied from interface: IPLaunch
Get the job ID associated with this launch

Specified by:
getJobId in interface IPLaunch
Returns:
job id
Since:
5.0

getResourceManager

public org.eclipse.ptp.rmsystem.IResourceManager getResourceManager()
Description copied from interface: IPLaunch
Get the resource manager used to launch the job

Specified by:
getResourceManager in interface IPLaunch
Returns:
resource manager used to launch the job
Since:
5.0

isTerminated

public boolean isTerminated()
Specified by:
isTerminated in interface org.eclipse.debug.core.model.ITerminate
Overrides:
isTerminated in class org.eclipse.debug.core.Launch

setJobId

public void setJobId(String jobId)
Description copied from interface: IPLaunch
Set the job ID associated with this launch

Specified by:
setJobId in interface IPLaunch
Since:
5.0

setResourceManager

public void setResourceManager(org.eclipse.ptp.rmsystem.IResourceManager rm)
Description copied from interface: IPLaunch
Set the resource manager used to launch the job

Specified by:
setResourceManager in interface IPLaunch
Since:
5.0

PTP
Release 5.0

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