org.quartz.utils
Class UpdateChecker

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

public class UpdateChecker
extends java.util.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(java.lang.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 java.lang.Runnable
Specified by:
run in class java.util.TimerTask

checkForUpdate

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


main

public static void main(java.lang.String[] args)


Copyright 2001-2019, Terracotta, Inc.