| org.netbeans.spi.autoupdate.UpdateProvider
All known Subclasses: org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider, org.netbeans.modules.autoupdate.updateprovider.LocalNBMsProvider, org.netbeans.modules.autoupdate.updateprovider.ArtificialFeaturesProvider,
UpdateProvider | public interface UpdateProvider (Code) | | 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.
author: Jiri Rechtacek |
getCategory | public CATEGORY getCategory()(Code) | | UpdateUnitProvider.CATEGORY for a quality classification of updates comming from this instance |
getDescription | public String getDescription()(Code) | | Description of provider. This description can be visualized in UI.
description of provider or null |
getDisplayName | public String getDisplayName()(Code) | | Display name of provider. This display name can be visualized in UI.
display name of provider |
getName | public String getName()(Code) | | Name of provider, this name is used by Autoupdate infrastructure for manimulating
of providers.
name of provider |
getUpdateItems | public Map<String, UpdateItem> getUpdateItems() throws IOException(Code) | | Returns UpdateItem s which is mapped to its unique ID.
Unique ID depends on the type of UpdateItem .
See Also: UpdateItem Map of code name of UpdateItem and instance of UpdateItem throws: java.io.IOException - when any network problem appreared |
refresh | public boolean refresh(boolean force) throws IOException(Code) | | Make refresh of content of the provider. The content can by read from
a cache. The force parameter forces reading content from
remote server.
Parameters: force - if true then forces to reread the content from server true if refresh succeed throws: java.io.IOException - when any network problem appreared |
|
|