|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.universaldevices.autoupdate.UDAutoUpdate
public class UDAutoUpdate
UDAutoUpdate
class is an interface to Universal Devices
AutoUpdate website. It enables the clients to be notified of available
firmware updates as well as help them install the updates on ISY.
Nested Class Summary | |
---|---|
class |
UDAutoUpdate.UDPlatform
Class UDAutoUpdate.UDPlatform is an abstraction of ISY
platform for which an update is being investigated |
protected class |
UDAutoUpdate.UDProduct
UDAutoUpdate.UDProduct is an abstraction of the product for which
an upgrade is necessary. |
protected class |
UDAutoUpdate.UDVersion
UDAutoUpdate.UDVersion is an abstraction of the platform version
as described by UDI DIML/XML |
static class |
UDAutoUpdate.UDVersionNum
This class implements version numbers as defined by UDI |
Field Summary | |
---|---|
java.util.Hashtable<java.lang.String,UDAutoUpdate.UDProduct> |
products
A Hashtable of all the UDAutoUpdate.UDProduct s on the UDI
AutoUpdate website |
Constructor Summary | |
---|---|
UDAutoUpdate()
|
Method Summary | |
---|---|
static int |
compareVersionNums(java.lang.String v1,
java.lang.String v2)
Compares two version numbers |
boolean |
GetUpdates()
Fills up the products attribute with update information from
UD AutoUpdate website. |
UDAutoUpdate.UDPlatform |
isUpgradeNecessary(java.lang.String appName,
java.lang.String platform,
java.lang.String version)
Given an application name, platform name, and version, it returns whether or not an upgrade is necessary at this point |
boolean |
requiresReset(java.lang.Object p)
Whether or not a UDAutoUpdate.UDProduct instance requires the ISY to be reset
to factory defaults before upgrade |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.Hashtable<java.lang.String,UDAutoUpdate.UDProduct> products
Hashtable
of all the UDAutoUpdate.UDProduct
s on the UDI
AutoUpdate website
Constructor Detail |
---|
public UDAutoUpdate()
Method Detail |
---|
public static int compareVersionNums(java.lang.String v1, java.lang.String v2)
v1
- v2
-
public boolean GetUpdates()
products
attribute with update information from
UD AutoUpdate website.
public boolean requiresReset(java.lang.Object p)
UDAutoUpdate.UDProduct
instance requires the ISY to be reset
to factory defaults before upgrade
p
- - an object of type UDAutoUpdate.UDProduct
public UDAutoUpdate.UDPlatform isUpgradeNecessary(java.lang.String appName, java.lang.String platform, java.lang.String version)
appName
- - application nameplatform
- - the platform nameversion
- - the current version of the application
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |