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

UpdateManager

public interface UpdateManager
author
parg

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

public voidaddVerificationListener(UpdateManagerVerificationListener l)

public voidapplyUpdates(boolean restart_after)
applies any updates and stops or restarts Azureus

throws
UpdateException

public UpdateCheckInstancecreateEmptyUpdateCheckInstance(int check_type, java.lang.String name)
creates an update check instance with no attached updateable components (as opposed to automatically including all registered

param
check_type see UpdateCheckInstance.UCI_xx
param
name name of the update instance
return

public UpdateInstallercreateInstaller()
create a stand alone update installer. you will need to restart Azureus for it to be installed

return
throws
UpdateException

public UpdateCheckInstancecreateUpdateCheckInstance()
creates an update check instance with currently registered updatable components Default check type is "UCI_UPDATE"

return

public UpdateCheckInstancecreateUpdateCheckInstance(int check_type, java.lang.String name)
creates an update check instance with currently registered updatable components

param
check_type see UpdateCheckInstance.UCI_xx
param
name name of the update instance

public java.lang.StringgetInstallDir()

public UpdateInstaller[]getInstallers()
returns the currently declared installers, if any

return

public java.lang.StringgetUserDir()

public voidregisterUpdatableComponent(UpdatableComponent component, boolean mandatory)
All updateable components must register in order to receive update check events

param
component
param
mandatory indicates that this component must successfully complete checking for any overall update check to complete

public voidremoveListener(UpdateManagerListener l)

public voidremoveVerificationListener(UpdateManagerVerificationListener l)

public voidrestart()
restart azureus after applying any updates

deprecated
- use applyUpdates
throws
UpdateException