|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.universaldevices.autoupdate.UDAutoUpdate.UDPlatform
public class UDAutoUpdate.UDPlatform
Class UDAutoUpdate.UDPlatform
is an abstraction of ISY
platform for which an update is being investigated
Field Summary | |
---|---|
java.lang.String |
code
The url for the code to be downloaded |
java.lang.String |
description
Description of the features/fixes in this update |
UDAutoUpdate.UDVersionNum |
installedVersion
Currently installed version |
UDAutoUpdate.UDVersionNum |
latestVersion
Latest available version |
java.lang.String |
name
The name of the Platform (ISY-C-2, ISY-C-5, ISY-2, etc.) |
UDAutoUpdate.UDVersionNum |
notSupportedIfAbove
The version number above which ISY may not be upgraded to this update level |
UDAutoUpdate.UDVersionNum |
resetIfBelow
The version number below which ISY should be reset (factory) |
UDAutoUpdate.UDVersionNum |
versionNumber
The version number |
Constructor Summary | |
---|---|
UDAutoUpdate.UDPlatform(XMLElement e,
UDAutoUpdate.UDVersionNum version,
UDAutoUpdate.UDVersionNum latestVersion,
java.lang.String description,
UDAutoUpdate.UDVersionNum resetIfBelow,
UDAutoUpdate.UDVersionNum notSupportedIfAbove)
Constructor Note: This class is initialized by UDI Network and Services Layers and, as such, should not be utilized independently. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
boolean |
isAppAbove()
Whether or not the installed application version is above the latest version |
boolean |
isAppBelow()
Whether or not the installed application version is below the latest version |
boolean |
isCurrent()
Whether or not the installed application is at the latest version |
boolean |
isCurrentlyInstalled()
Whether or not this platform/version is currently installed on ISY |
boolean |
isLatest()
Whether or not this UDAutoUpdate.UDPlatform is the latest version |
boolean |
isSupported()
Whether or not the currently installed firmware supports upgrade to the version as captured by this object |
boolean |
requiresReset()
Whether or not ISY should be reset (factory) upon successful installation of this update |
java.lang.String |
toString()
Returns the version number; if it's the latest, an "*" is attached to the end of this String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public java.lang.String code
public java.lang.String description
public UDAutoUpdate.UDVersionNum versionNumber
public UDAutoUpdate.UDVersionNum installedVersion
public UDAutoUpdate.UDVersionNum latestVersion
public UDAutoUpdate.UDVersionNum resetIfBelow
public UDAutoUpdate.UDVersionNum notSupportedIfAbove
Constructor Detail |
---|
public UDAutoUpdate.UDPlatform(XMLElement e, UDAutoUpdate.UDVersionNum version, UDAutoUpdate.UDVersionNum latestVersion, java.lang.String description, UDAutoUpdate.UDVersionNum resetIfBelow, UDAutoUpdate.UDVersionNum notSupportedIfAbove)
e
- - The DIML/XML describing the Platformversion
- - The versionlatestVersion
- - The latest versiondescription
- - The description/features of the updateresetIfBelow
- - Reset ISY if below this versionnotSupportedIfAbove
- - May not upgrade the firmware if above this versionMethod Detail |
---|
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean isCurrentlyInstalled()
public boolean isAppBelow()
public boolean isAppAbove()
public boolean isCurrent()
public boolean isLatest()
UDAutoUpdate.UDPlatform
is the latest version
public boolean requiresReset()
public boolean isSupported()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |