frysk.stepping
Class LineStepState
java.lang.Object
frysk.stepping.State
frysk.stepping.LineStepState
public class LineStepState
- extends State
|
Method Summary |
State |
handleUpdate(TaskStepEngine tse)
Continues to unblock this task instruction-by-instruction until it has
performed a line step. |
boolean |
isAlive()
Returns whether or not this State a Task which has just died. |
boolean |
isStopped()
Returns whether or not this State represents a stopped Task. |
LineStepState
public LineStepState(Task task)
handleUpdate
public State handleUpdate(TaskStepEngine tse)
- Continues to unblock this task instruction-by-instruction until it has
performed a line step.
- Specified by:
handleUpdate in class State
- Parameters:
tse - The parent TaskStepEngine
- Returns:
- new StoppedState If the line step is complete
isStopped
public boolean isStopped()
- Description copied from class:
State
- Returns whether or not this State represents a stopped Task.
- Specified by:
isStopped in class State
- Returns:
- true If the Task is stopped
isAlive
public boolean isAlive()
- Description copied from class:
State
- Returns whether or not this State a Task which has just died.
- Specified by:
isAlive in class State
- Returns:
- true If the Task is alive