public abstract class CheckMasterListRunnable
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
CheckMasterListRunnable(java.lang.String masterURL) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
failed(java.lang.Throwable exception)
Called when the master list could not be retrieved because of an error.
|
protected abstract void |
finished(java.util.List<UpdateInfo> masterList)
Called when the master list has been retrieved.
|
protected UpdateCenterMonitor |
getMonitor() |
boolean |
isRunning() |
void |
run() |
void |
setMonitor(UpdateCenterMonitor monitor) |
public CheckMasterListRunnable(java.lang.String masterURL)
public final void setMonitor(UpdateCenterMonitor monitor)
protected final UpdateCenterMonitor getMonitor()
public void run()
run
in interface java.lang.Runnable
public boolean isRunning()
protected abstract void failed(java.lang.Throwable exception)
exception
- the exception that caused the check to fail.protected abstract void finished(java.util.List<UpdateInfo> masterList)
masterList
- contains a list of UpdateCenter instances retrieved from the master server.