PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.model
Interface IPDIThreadGroup

All Superinterfaces:
IPDISessionObject, IPDISet

public interface IPDIThreadGroup
extends IPDISessionObject

Represents thread group


Method Summary
 IPDIThread getCurrentThread()
          Returns the currently selected thread.
 IPDIThread[] getThreads()
          Returns the threads contained in this target.
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

getThreads

IPDIThread[] getThreads()
                        throws PDIException
Returns the threads contained in this target. An empty collection is returned if this target contains no threads.

Returns:
a collection of threads
Throws:
PDIException - on failure

getCurrentThread

IPDIThread getCurrentThread()
                            throws PDIException
Returns the currently selected thread.

Returns:
the currently selected thread
Throws:
PDIException - on failure

PTP
Release 7.0

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