public interface IXBMCUpdater
Modifier and Type | Method and Description |
---|---|
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
|
java.util.Set<AddonDetails> listAddons(IConsole console) throws XBMCUpdaterException
console
- The console used to send messages toXBMCUpdaterException
- thrown if their are any problemsint update(IConsole console) throws XBMCUpdaterException, XBMCException
console
- The console used to send messages toXBMCUpdaterException
- thrown if their are any problems with the updaterXBMCException
- 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 updateXBMCUpdaterException
- thrown if their are any problems with the updaterXBMCException
- 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 installXBMCException
- 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 uninstallXBMCUpdaterException
- Thrown if their are any problems