frysk.stepping
Class StoppedState

java.lang.Object
  extended by frysk.stepping.State
      extended by frysk.stepping.StoppedState

public class StoppedState
extends State


Constructor Summary
StoppedState(Task task)
           
 
Method Summary
 State handleUpdate(TaskStepEngine tse)
          An update to a StoppedState means nothing - return this State.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoppedState

public StoppedState(Task task)
Method Detail

handleUpdate

public State handleUpdate(TaskStepEngine tse)
An update to a StoppedState means nothing - return this State.

Specified by:
handleUpdate in class State
Parameters:
tse - The parent TaskStepEngine
Returns:
this

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