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: 567 $, $Date: 2005-01-10 17:45:19 +0100 (lun., 10 janv. 2005) $
- 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-2008 Emmanuel Bourg. All Rights Reserved.