frysk.stepping
Class StepTerminatedState

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

public class StepTerminatedState
extends State


Constructor Summary
StepTerminatedState(Task task)
           
StepTerminatedState(Task task, boolean terminating)
           
 
Method Summary
 State handleUpdate(TaskStepEngine tse)
          Handles updates from the SteppingEngine.SteppingObserver.
 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.
 boolean isTerminating()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepTerminatedState

public StepTerminatedState(Task task)

StepTerminatedState

public StepTerminatedState(Task task,
                           boolean terminating)
Method Detail

handleUpdate

public State handleUpdate(TaskStepEngine tse)
Description copied from class: State
Handles updates from the SteppingEngine.SteppingObserver. Performs state transitions if necessary.

Specified by:
handleUpdate in class State
Returns:
state The State of task after the SteppingObserver update

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

isTerminating

public boolean isTerminating()