Interface IThreadGroup
-
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.debug.core.model.IDebugElement
,org.eclipse.debug.core.model.IStep
,org.eclipse.debug.core.model.ISuspendResume
public interface IThreadGroup extends org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.ISuspendResume, org.eclipse.debug.core.model.IStep
Group ofIThread
. Contains threads of execution, group by some reason.A thread group supports the following actions:
- Suspend and resume
- Stepping
Clients may implement this interface.
- See Also:
IThread
,ISuspendResume
,IStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Returns the name of this thread group.org.eclipse.debug.core.model.IThread[]
getThreads()
Returns the threads in this thread group.boolean
hasThreads()
Returns whether this group contains any threads.-
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
-
-
-
-
Method Detail
-
getThreads
org.eclipse.debug.core.model.IThread[] getThreads() throws org.eclipse.debug.core.DebugException
Returns the threads in this thread group. Never returnsnull
.- Returns:
- threads in this group, never
null
- Throws:
org.eclipse.debug.core.DebugException
- if the request fails
-
hasThreads
boolean hasThreads() throws org.eclipse.debug.core.DebugException
Returns whether this group contains any threads.- Returns:
- whether this group contains any threads
- Throws:
org.eclipse.debug.core.DebugException
- if the request fails
-
getName
String getName() throws org.eclipse.debug.core.DebugException
Returns the name of this thread group.- Returns:
- the thread group name, never
null
- Throws:
org.eclipse.debug.core.DebugException
- if the request fails
-
-