ikayaki
Class Project.Measurement

java.lang.Object
  extended by ikayaki.Project.Measurement
All Implemented Interfaces:
Runnable
Enclosing class:
Project

private class Project.Measurement
extends Object
implements Runnable

Runs the measurements and adds the measurement data to this project. The project's state must be non-IDLE before starting this thread.


Constructor Summary
private Project.Measurement()
           
 
Method Summary
private  void checkAborted()
          Checks whether the measurement has been aborted.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Project.Measurement

private Project.Measurement()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

checkAborted

private void checkAborted()
                   throws InterruptedException
Checks whether the measurement has been aborted. Will throw an exception if the measurement has been aborted, otherwise will do nothing.

Throws:
InterruptedException - if the measurement has been aborted.