GWTApplication.server
Class FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours

java.lang.Object
  extended by java.util.TimerTask
      extended by GWTApplication.server.FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
FaultServiceImpl

 class FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours
extends java.util.TimerTask

This is a timertask which will be used to print all new faults in the previous 24 hours to the printer in the operations room.


Constructor Summary
FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours()
           
 
Method Summary
 void run()
          Called when the timertask is scheduled to run.
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours

FaultServiceImpl.PrintNewFaultsInLastTwentyFourHours()
Method Detail

run

public void run()
Called when the timertask is scheduled to run. It finds all of the faults which have occurred in the last 24 hours and then prints them to the printer in the operations room. This should take place at 0830 every morning.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class java.util.TimerTask