|
org.netbeans.modules.autoupdate.services 1.26.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.autoupdate.UpdateElement
public final class UpdateElement
Instances provided by the 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.
| Method Summary | |
|---|---|
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 |
getNotification()
Returns the special notification text of update. |
String |
getSource()
Returns name of UpdateProvider |
UpdateUnitProvider.CATEGORY |
getSourceCategory()
Deprecated. Use getSourceIcon() and getSourceDescription(). |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
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()
getSourceIcon() and 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 getLicence()
UpdateElement has a copyright.
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
org.netbeans.modules.autoupdate.services 1.26.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||