net.sf.zekr.engine.update
Class UpdateManager
java.lang.Object
net.sf.zekr.engine.update.UpdateManager
public class UpdateManager
- extends java.lang.Object
Zekr update manager. This class is capable of checking for new updates available on the remote site of
Zekr.
- Author:
- Mohsen Saboorian
Constructor Summary |
UpdateManager(org.eclipse.swt.widgets.Shell shell)
|
Method Summary |
boolean |
check(boolean manual)
|
boolean |
isCheckNeeded()
Checks whether this is time for checking for a new update. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
updateCheckFinished
public boolean updateCheckFinished
updateCheckFailed
public boolean updateCheckFailed
failureCause
protected java.lang.Exception failureCause
UpdateManager
public UpdateManager(org.eclipse.swt.widgets.Shell shell)
isCheckNeeded
public boolean isCheckNeeded()
- Checks whether this is time for checking for a new update.
- Returns:
true
if this is the time for checking, false
otherwise.
check
public boolean check(boolean manual)