|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXBMCUpdater
This interface should be implemented by classes that can update the instance XBMC addons
Method Summary | |
---|---|
int |
installAddons(IConsole console,
java.util.Set<java.lang.String> addonIds)
Used to install a list of addons |
java.util.Set<AddonDetails> |
listAddons(IConsole console)
Used to get a list of installed and uninstalled addons |
void |
setAddonManager(XBMCAddonManager xbmcAddonManager)
Register the XBMC manager with the updater |
int |
uninstallAddons(IConsole console,
java.util.Set<java.lang.String> addonIds)
Used to uninstall a list of addons and any that depend on these addons |
int |
update(IConsole console)
Update all addons to the latest version |
int |
update(IConsole console,
java.util.Set<java.lang.String> addonList)
Update a list of addons to the latest version and the addons they depend on |
Method Detail |
---|
java.util.Set<AddonDetails> listAddons(IConsole console) throws XBMCUpdaterException
console
- The console used to send messages to
XBMCUpdaterException
- thrown if their are any problemsint update(IConsole console) throws XBMCUpdaterException, XBMCException
console
- The console used to send messages to
XBMCUpdaterException
- thrown if their are any problems with the updater
XBMCException
- Thrown if their are any other problemsint update(IConsole console, java.util.Set<java.lang.String> addonList) throws XBMCException
console
- The console used to send messages toaddonList
- The list of addons to update
XBMCUpdaterException
- thrown if their are any problems with the updater
XBMCException
- Thrown if their are any other problemsvoid setAddonManager(XBMCAddonManager xbmcAddonManager)
xbmcAddonManager
- the XBMC managerint installAddons(IConsole console, java.util.Set<java.lang.String> addonIds) throws XBMCException
console
- The console used to send messages toaddonIds
- a list of addon ID's to install
XBMCException
- Thrown if their are any problemsint uninstallAddons(IConsole console, java.util.Set<java.lang.String> addonIds) throws XBMCUpdaterException
console
- The console used to send messages toaddonIds
- a list of addon ID's to uninstall
XBMCUpdaterException
- Thrown if their are any problems
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |