edu.rice.cs.drjava.model.debug
Class DebugThreadData
java.lang.Object
edu.rice.cs.drjava.model.debug.DebugThreadData
- Direct Known Subclasses:
- JPDAThreadData
public abstract class DebugThreadData
- extends Object
Class for keeping track of the currently running threads.
- Version:
- $Id: DebugThreadData.java 5175 2010-01-20 08:46:32Z mgricken $
|
Method Summary |
String |
getName()
Returns the name of this thread. |
String |
getStatus()
Returns the status of this thread (at the time of this object's construction) |
long |
getUniqueID()
|
abstract boolean |
isSuspended()
Tells whether or not the thread is suspended. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
private final String _name
_status
private final String _status
_uniqueID
private final long _uniqueID
DebugThreadData
public DebugThreadData(String name,
String status,
long uniqueID)
getName
public String getName()
- Returns the name of this thread.
getStatus
public String getStatus()
- Returns the status of this thread (at the time of this object's construction)
getUniqueID
public long getUniqueID()
isSuspended
public abstract boolean isSuspended()
- Tells whether or not the thread is suspended.
- Returns:
- true iff the thread is suspended