|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.autoupdate.UpdateUnit
public final class UpdateUnit
Instances provided by the UpdateManager
which represents wrapper of
UpdateElement
. The one unit contains all avaliable elements of
as same unit, i.e. Editor module, version 1.1 is installed in IDE, server with module
update can contain Editor module, version 1.2 and Editor, version 1.0 is in
IDE backup.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<UpdateElement> |
getAvailableLocalizations()
Returns list of avaiable localization active with current Locale ,
the localization are not installed in IDE and has higher version then
installed localization (is any). |
List<UpdateElement> |
getAvailableUpdates()
Returns list of avaiable element which are not installed in IDE and has higher version then installed element (is any). |
UpdateElement |
getBackup()
Returns UpdateElement in IDE backup if any or null. |
String |
getCodeName()
Return code name of unit, it's unique among rest of another units. |
UpdateElement |
getInstalled()
Returns installed UpdateElement if any or null if
no element which unit's code name is already installed. |
UpdateElement |
getInstalledLocalization()
Returns localization UpdateElement active with current Locale
or null. |
int |
hashCode()
|
boolean |
isAutoload()
Deprecated. |
boolean |
isEager()
Deprecated. |
boolean |
isFixed()
Deprecated. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
@Deprecated public boolean isAutoload()
@Deprecated public boolean isEager()
@Deprecated public boolean isFixed()
public String getCodeName()
public UpdateElement getInstalled()
UpdateElement
if any or null if
no element which unit's code name is already installed.
UpdateElement
public List<UpdateElement> getAvailableUpdates()
UpdateElement
public UpdateElement getBackup()
UpdateElement
in IDE backup if any or null. The element
can found in backup if any another element did update them.
UpdateElement
from backuppublic UpdateElement getInstalledLocalization()
UpdateElement
active with current Locale
or null.
UpdateElement
installed in IDEpublic List<UpdateElement> getAvailableLocalizations()
Locale
,
the localization are not installed in IDE and has higher version then
installed localization (is any). These elements can be installed as new one element
or as update of already installed element.
UpdateElement
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |