public abstract class UpdatesChecker
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
isError
True if there is an error in the communication call
|
protected boolean |
updatesAvailable
True if updates are available
|
protected java.lang.String |
updatesMessage
Any generated updates message
|
Constructor and Description |
---|
UpdatesChecker() |
Modifier and Type | Method and Description |
---|---|
abstract void |
checkForUpdates(java.lang.String currentVersion)
Check for updates.
|
abstract java.lang.String |
getUpdatesMessage()
Get a message describing the updates available.
|
abstract boolean |
isError()
Return true if there has been an error in the communication call.
|
abstract boolean |
updatesAvailable()
Return true if updates are available.
|
protected boolean isError
protected boolean updatesAvailable
protected java.lang.String updatesMessage
public abstract void checkForUpdates(java.lang.String currentVersion)
currentVersion
- the current version of the product.public abstract boolean isError()
public abstract boolean updatesAvailable()
public abstract java.lang.String getUpdatesMessage()