|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateProvider
UpdateProvider
providers items for Autoupdate infrastructure. The items
are available on e.g. Update Center. Items can represents NetBeans Module,
its Localization, Feature as group of NetBeans Modules or special
components which needs own native installer to make them accessible in NetBeans product.
The infrastructure finds out UpdateProvider
in Lookup.getDefault()
,
the provider can be registring declaratively in XML layer.
Note: the former Autoupdate module allows declaration of former AutoupdateType
on XML
layer, these declaration are read as new one UpdateProvider by reason of backward compatability.
Method Summary | |
---|---|
String |
getDisplayName()
Display name of provider. |
String |
getName()
Name of provider, this name is used by Autoupdate infrastructure for manimulating of providers. |
Map<String,UpdateItem> |
getUpdateItems()
Returns UpdateItem s which is mapped to its unique ID. |
boolean |
refresh(boolean force)
Make refresh of content of the provider. |
Method Detail |
---|
String getName()
String getDisplayName()
Map<String,UpdateItem> getUpdateItems() throws IOException
UpdateItem
s which is mapped to its unique ID.
Unique ID depends on the type of UpdateItem
.
IOException
- when any network problem apprearedUpdateItem
boolean refresh(boolean force) throws IOException
force
parameter forces reading content from
remote server.
force
- if true then forces to reread the content from server
IOException
- when any network problem appreared
|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |