UpdateChecker (Quartz Parent POM 2.0.1 API)

Quartz Java



org.quartz.utils Class UpdateChecker

java.lang.Object
  extended by java.util.TimerTask
      extended by org.quartz.utils.UpdateChecker
All Implemented Interfaces:
Runnable

public class UpdateChecker
extends TimerTask

Check for updates and alert users if an update is available

Author:
Hung Huynh

Constructor Summary
UpdateChecker()
           
 
Method Summary
 void checkForUpdate()
          This method ensures that there will be no exception thrown.
static void main(String[] args)
           
 void run()
          Run the update check
 
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

UpdateChecker

public UpdateChecker()
Method Detail

run

public void run()
Run the update check

Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

checkForUpdate

public void checkForUpdate()
This method ensures that there will be no exception thrown.


main

public static void main(String[] args)


Copyright 2001-2011, Terracotta, Inc.