frysk.hpd
Class TaskData
java.lang.Object
frysk.hpd.TaskData
class TaskData
- extends Object
A class which holds a Task and any internal info about it. It is immutable.
Field Summary |
(package private) int |
id
|
(package private) int |
parentid
|
(package private) Task |
task
|
Constructor Summary |
TaskData(Task task,
int id,
int parentid)
|
Method Summary |
int |
getID()
|
int |
getParentID()
|
Task |
getTask()
|
boolean |
isStopped()
XXX: The way to determine if a task is stopped is via the
stepping engine which determines when, from the HPD's
point-of-view, a task can be considered stopped. |
void |
printHeader(PrintWriter printWriter)
If appropriate (more than one task), print this tasks header
(parentId.id tuple) |
String |
toString()
|
id
int id
parentid
int parentid
task
Task task
TaskData
public TaskData(Task task,
int id,
int parentid)
getID
public int getID()
getParentID
public int getParentID()
getTask
public Task getTask()
toString
public String toString()
- Overrides:
toString
in class Object
printHeader
public void printHeader(PrintWriter printWriter)
- If appropriate (more than one task), print this tasks header
(parentId.id tuple)
- Parameters:
printWriter
- the PrintWriter to print output to.
isStopped
public boolean isStopped()
- XXX: The way to determine if a task is stopped is via the
stepping engine which determines when, from the HPD's
point-of-view, a task can be considered stopped.