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.Modifier and Type | Method and Description |
---|---|
UpdateUnitProvider.CATEGORY |
getCategory() |
String |
getDescription()
Description of provider.
|
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.
|
String getName()
String getDisplayName()
String getDescription()
UpdateUnitProvider.CATEGORY getCategory()
UpdateUnitProvider.CATEGORY
for a quality classification
of updates comming from this instanceMap<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 serverIOException
- when any network problem apprearedBuilt on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.