FileDocCategorySizeDatePackage
UpdateChecker.javaAPI DocAzureus 3.0.3.42813Thu Jul 20 02:15:48 BST 2006org.gudy.azureus2.plugins.update

UpdateChecker

public interface UpdateChecker
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidaddListener(UpdateCheckerListener l)

public voidaddProgressListener(UpdateProgressListener l)

public UpdateaddUpdate(java.lang.String name, java.lang.String[] description, java.lang.String new_version, ResourceDownloader downloader, int restart_required)
Add an update with a single downloader

param
mandatory indicates that in a group of updates this one must succeed

public UpdateaddUpdate(java.lang.String name, java.lang.String[] description, java.lang.String new_version, ResourceDownloader[] downloaders, int restart_required)
Add an update with a number of downloaders

public voidcompleted()
Indicate that update checking is complete and that any updates required have been added by the addUpdate methods

public UpdateInstallercreateInstaller()
For updates that require a stop, update-action and then start you create an installer. This allows the specification of actions such as the replacement of a DLL

return

public voidfailed()
Indicates that the update check failed. Of particular importance for mandatory components (e.g. AZ core) as failure of a mandatory one causes all other updates to be aborted

public UpdateCheckInstancegetCheckInstance()

public UpdatableComponentgetComponent()

public voidremoveListener(UpdateCheckerListener l)

public voidremoveProgressListener(UpdateProgressListener l)

public voidreportProgress(java.lang.String str)
report a progress string to registered listeners

param
str