edu.rice.cs.drjava.model.debug
Class DebugThreadData

java.lang.Object
  extended by 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 $

Field Summary
private  String _name
           
private  String _status
           
private  long _uniqueID
           
 
Constructor Summary
DebugThreadData(String name, String status, long uniqueID)
           
 
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
 

Field Detail

_name

private final String _name

_status

private final String _status

_uniqueID

private final long _uniqueID
Constructor Detail

DebugThreadData

public DebugThreadData(String name,
                       String status,
                       long uniqueID)
Method Detail

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