net.jetrix.services
Class VersionService
java.lang.Object
net.jetrix.services.AbstractService
net.jetrix.services.CronService
net.jetrix.services.VersionService
- All Implemented Interfaces:
- Service
public class VersionService
- extends CronService
Service checking the availability of a new release.
- Since:
- 0.2
- Version:
- $Revision: 794 $, $Date: 2009-02-17 20:08:39 +0100 (Tue, 17 Feb 2009) $
- Author:
- Emmanuel Bourg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionService
public VersionService()
getName
public String getName()
- Description copied from interface:
Service
- Return the name of the service.
run
protected void run()
- Description copied from class:
CronService
- Do the task
- Specified by:
run in class CronService
updateLatestVersion
public static void updateLatestVersion()
- Update the latest stable version known.
getLatestVersion
public static String getLatestVersion()
- Return the latest stable version known.
isNewVersionAvailable
public static boolean isNewVersionAvailable()
- Check if the latest stable version is more recent than the current version.
Copyright © 2001-2010. All Rights Reserved.