public final class UpdateElement extends Object
UpdateUnit
which represents specific version
of update (e.g. module or feature). The UpdateElement
can be installed,
available on a remote server or stored in backup.Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAuthor()
Returns name of the author of the update element.
|
String |
getCategory()
Returns display name of category where
UpdateElement belongs to. |
String |
getCodeName()
Returns the code name of the update, sans release version.
|
String |
getDate()
Returns date when
UpdateElement was published or install time
if the UpdateElement is installed already. |
String |
getDescription()
Returns the description of update, displaying in UI to end users.
|
String |
getDisplayName()
Returns the display name of the update, displaying in UI to end users.
|
int |
getDownloadSize()
Returns size of
UpdateElement in Bytes. |
String |
getHomepage()
Returns the
String representation of URL . |
String |
getLicence()
Returns text of license agreement if the
UpdateElement has a copyright. |
String |
getLicenseId()
Returns ID of license agreement if the
UpdateElement has a copyright. |
String |
getNotification()
Returns the special notification text of update.
|
String |
getSource()
Returns name of
UpdateProvider |
UpdateUnitProvider.CATEGORY |
getSourceCategory()
Deprecated.
|
String |
getSourceDescription()
Description of the provider of this element.
|
Image |
getSourceIcon()
Provides an icon associated with the provider of this update element.
|
String |
getSpecificationVersion()
Returns the specification version.
|
UpdateUnit |
getUpdateUnit()
Returns
UpdateUnit where is this UpdateElement contained. |
int |
hashCode() |
boolean |
isEnabled()
Returns if the
UpdateElement is active in the system. |
String |
toString() |
public UpdateUnit getUpdateUnit()
UpdateUnit
where is this UpdateElement
contained.public String getCodeName()
public String getDisplayName()
public String getSpecificationVersion()
public boolean isEnabled()
UpdateElement
is active in the system.public String getDescription()
public String getNotification()
public String getSource()
UpdateProvider
@Deprecated public UpdateUnitProvider.CATEGORY getSourceCategory()
UpdateElement.getSourceIcon()
and UpdateElement.getSourceDescription()
.UpdateUnitProvider.CATEGORY
for a quality classification
for update represented by this instancepublic Image getSourceIcon()
UpdateUnitProvider.getSourceIcon()
public String getSourceDescription()
UpdateUnitProvider.getSourceDescription()
public String getAuthor()
public String getHomepage()
String
representation of URL
.public int getDownloadSize()
UpdateElement
in Bytes.public String getCategory()
UpdateElement
belongs to.public String getDate()
UpdateElement
was published or install time
if the UpdateElement
is installed already. Can return null
if the date is unknown.public String getLicenseId()
UpdateElement
has a copyright.public String getLicence()
UpdateElement
has a copyright.