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< OtaUpdaterPackagegetPackagesVersion () throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException
 Retrieve all installed packages version. More...
 
List< OtaUpdaterPackagegetPackagesVersion (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< OtaUpdaterChannelgetChannels () 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

Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Parameters
channelchannel options
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Parameters
channelchannel options
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Returns
list of channels
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Returns
package list
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
List<OtaUpdaterPackage> getPackagesVersion ( List< String >  packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException
Parameters
packageListlist of packages
Returns
package list
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
List<AbstractMap.SimpleEntry<String, String> > getRemoteVersions ( List< String >  packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException
Parameters
packageListlist of packages to be checked
Returns
map with associates package name with its version
Exceptions
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
packageListlist of package names that should be installed
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
void uninstallPackages ( List< String >  packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException
Parameters
packageListlist of packages names that should be uninstalled
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException
void upgradePackages ( List< String >  packageList) throws OtaUpdaterNotAvailableException, OtaUpdaterLowLevelException
Parameters
packageListlist of packages to be upgraded
Exceptions
OtaUpdaterNotAvailableException
OtaUpdaterLowLevelException