OtaUpdater Interface Reference
OtaUpdater.
Inheritance diagram for OtaUpdater:

Public Member Functions | |
| Map< String, String > | getUpdates () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve list of packages ready to be updated. More... | |
| List< AbstractMap.SimpleEntry< String, String > > | getRemoteVersions (List< String > packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve the list of current remote packages given a package list available. More... | |
| OtaUpdaterStatus | getStatus () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve current Ota Updater system status. More... | |
| void | repoSync () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Synchronize with package repository. More... | |
| void | upgradePackages () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Upgrade the alternative RFS with all the packages available. More... | |
| void | upgradePackages (List< String > packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Upgrade the alternative RFS with the specified packages. More... | |
| void | installPackages (List< String > packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Install specific packages in the system. More... | |
| void | uninstallPackages (List< String > packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Uninstall specific packages in the system. More... | |
| List< OtaUpdaterPackage > | getPackagesVersion () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve all installed packages version. More... | |
| List< OtaUpdaterPackage > | getPackagesVersion (List< String > packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve current packages version. More... | |
| void | rollback () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Rollback the alternative RFS. More... | |
| void | discard () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Discard alternative RFS changes and therefore consider the update as invalid. More... | |
| void | acknowledge () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Acknowledge alternative RFS changes and therefore consider the update as valid. More... | |
| void | addChannel (OtaUpdaterChannel channel) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Add a new channel. More... | |
| void | deleteChannel (OtaUpdaterChannel channel) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Delete a existing channel. More... | |
| List< OtaUpdaterChannel > | getChannels () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
| Retrieve existing channels. More... | |
Public Member Functions inherited from Subject< T extends Observer< U, U extends Event > | |
| void | subscribe (T observer) throws CannotSubscribeException |
| void | unSubscribe (T observer) throws ObserverNotSubscribedException |
Member Function Documentation
| void acknowledge | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void addChannel | ( | OtaUpdaterChannel | channel | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
channel channel options
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void deleteChannel | ( | OtaUpdaterChannel | channel | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
channel channel options
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void discard | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| List<OtaUpdaterChannel> getChannels | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Returns
- list of channels
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| List<OtaUpdaterPackage> getPackagesVersion | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Returns
- package list
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| List<OtaUpdaterPackage> getPackagesVersion | ( | List< String > | packageList | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
packageList list of packages
- Returns
- package list
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| List<AbstractMap.SimpleEntry<String, String> > getRemoteVersions | ( | List< String > | packageList | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
packageList list of packages to be checked
- Returns
- map with associates package name with its version
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| OtaUpdaterStatus getStatus | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Returns
- Ota Updater status
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| Map<String,String> getUpdates | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Returns
- map with associates package name with its version
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void installPackages | ( | List< String > | packageList | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
packageList list of package names that should be installed
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void repoSync | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void rollback | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void uninstallPackages | ( | List< String > | packageList | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
packageList list of packages names that should be uninstalled
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void upgradePackages | ( | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException
| void upgradePackages | ( | List< String > | packageList | ) | throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException |
- Parameters
-
packageList list of packages to be upgraded
- Exceptions
-
OtaUpdaterNotAvailableException OtaUpdaterLowLevelException

Public Member Functions inherited from