public final class UpdateElement
extends java.lang.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 | Description |
|---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getAuthor() |
Returns name of the author of the update element.
|
java.lang.String |
getCategory() |
Returns display name of category where
UpdateElement belongs to. |
java.lang.String |
getCodeName() |
Returns the code name of the update, sans release version.
|
java.lang.String |
getDate() |
Returns date when
UpdateElement was published or install time
if the UpdateElement is installed already. |
java.lang.String |
getDescription() |
Returns the description of update, displaying in UI to end users.
|
java.lang.String |
getDisplayName() |
Returns the display name of the update, displaying in UI to end users.
|
int |
getDownloadSize() |
Returns size of
UpdateElement in Bytes. |
java.lang.String |
getHomepage() |
Returns the
String representation of URL. |
java.lang.String |
getLicence() |
Returns text of license agreement if the
UpdateElement has a copyright. |
java.lang.String |
getLicenseId() |
Returns ID of license agreement if the
UpdateElement has a copyright. |
java.lang.String |
getNotification() |
Returns the special notification text of update.
|
java.lang.String |
getSource() |
Returns name of
UpdateProvider |
UpdateUnitProvider.CATEGORY |
getSourceCategory() |
Deprecated.
Use
getSourceIcon() and getSourceDescription(). |
java.lang.String |
getSourceDescription() |
Description of the provider of this element.
|
java.awt.Image |
getSourceIcon() |
Provides an icon associated with the provider of this update element.
|
java.lang.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. |
java.lang.String |
toString() |
public UpdateUnit getUpdateUnit()
UpdateUnit where is this UpdateElement contained.public java.lang.String getCodeName()
public java.lang.String getDisplayName()
public java.lang.String getSpecificationVersion()
public boolean isEnabled()
UpdateElement is active in the system.public java.lang.String getDescription()
public java.lang.String getNotification()
public java.lang.String getSource()
UpdateProvider@Deprecated public UpdateUnitProvider.CATEGORY getSourceCategory()
getSourceIcon() and getSourceDescription().UpdateUnitProvider.CATEGORY for a quality classification
for update represented by this instancepublic java.awt.Image getSourceIcon()
UpdateUnitProvider.getSourceIcon()public java.lang.String getSourceDescription()
UpdateUnitProvider.getSourceDescription()public java.lang.String getAuthor()
public java.lang.String getHomepage()
String representation of URL.public int getDownloadSize()
UpdateElement in Bytes.public java.lang.String getCategory()
UpdateElement belongs to.public java.lang.String getDate()
UpdateElement was published or install time
if the UpdateElement is installed already. Can return null
if the date is unknown.public java.lang.String getLicenseId()
UpdateElement has a copyright.public java.lang.String getLicence()
UpdateElement has a copyright.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.