|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateManager
Method Summary | |
---|---|
void |
addListener(UpdateManagerListener l)
|
void |
addVerificationListener(UpdateManagerVerificationListener l)
|
void |
applyUpdates(boolean restart_after)
applies any updates and stops or restarts Azureus |
UpdateCheckInstance |
createEmptyUpdateCheckInstance(int check_type,
String name)
creates an update check instance with no attached updateable components (as opposed to automatically including all registered |
UpdateInstaller |
createInstaller()
create a stand alone update installer. |
UpdateCheckInstance |
createUpdateCheckInstance()
creates an update check instance with currently registered updatable components Default check type is "UCI_UPDATE" |
UpdateCheckInstance |
createUpdateCheckInstance(int check_type,
String name)
creates an update check instance with currently registered updatable components |
UpdateCheckInstance[] |
getCheckInstances()
|
String |
getInstallDir()
|
UpdateInstaller[] |
getInstallers()
returns the currently declared installers, if any |
String |
getUserDir()
|
void |
registerUpdatableComponent(UpdatableComponent component,
boolean mandatory)
All updateable components must register in order to receive update check events |
void |
removeListener(UpdateManagerListener l)
|
void |
removeVerificationListener(UpdateManagerVerificationListener l)
|
void |
restart()
Deprecated. - use applyUpdates |
Method Detail |
---|
void registerUpdatableComponent(UpdatableComponent component, boolean mandatory)
component
- mandatory
- indicates that this component must successfully complete checking
for any overall update check to completeUpdateCheckInstance createUpdateCheckInstance()
UpdateCheckInstance createUpdateCheckInstance(int check_type, String name)
check_type
- see UpdateCheckInstance.UCI_xxname
- name of the update instanceUpdateCheckInstance createEmptyUpdateCheckInstance(int check_type, String name)
check_type
- see UpdateCheckInstance.UCI_xxname
- name of the update instance
UpdateCheckInstance[] getCheckInstances()
UpdateInstaller createInstaller() throws UpdateException
UpdateException
String getInstallDir()
String getUserDir()
UpdateInstaller[] getInstallers()
void restart() throws UpdateException
UpdateException
void applyUpdates(boolean restart_after) throws UpdateException
UpdateException
void addVerificationListener(UpdateManagerVerificationListener l)
void removeVerificationListener(UpdateManagerVerificationListener l)
void addListener(UpdateManagerListener l)
void removeListener(UpdateManagerListener l)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |