|
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.spi.autoupdate.UpdateItem
public final class UpdateItem
Represents a item of content provider by UpdateProvider
. These items are exposed to
Autoupdate infrastructure what works on them.
Method Summary | |
---|---|
static UpdateItem |
createFeature(String codeName,
String specificationVersion,
Set<String> dependencies,
String displayName,
String description,
String category)
Creates UpdateItem which represents Feature , it's means group
of NetBeans Modules. |
static UpdateItem |
createInstalledNativeComponent(String codeName,
String specificationVersion,
Set<String> dependencies,
String displayName,
String description,
CustomUninstaller uninstaller)
Creates UpdateItem which represents Native Component with own installer. |
static UpdateItem |
createLocalization(String codeName,
String specificationVersion,
String moduleSpecificationVersion,
Locale locale,
String branding,
String localizedName,
String localizedDescription,
String category,
URL distribution,
Boolean needsRestart,
Boolean isGlobal,
String targetCluster,
UpdateLicense license)
Creates UpdateItem which can localized NetBeans Module in given Locale . |
static UpdateItem |
createModule(String codeName,
String specificationVersion,
URL distribution,
String author,
String downloadSize,
String homepage,
String publishDate,
String category,
Manifest manifest,
Boolean needsRestart,
Boolean isGlobal,
String targetCluster,
UpdateLicense license)
Creates UpdateItem/code> which represents NetBeans Module in Autoupdate infrastructure. |
static UpdateItem |
createNativeComponent(String codeName,
String specificationVersion,
String downloadSize,
Set<String> dependencies,
String displayName,
String description,
Boolean needsRestart,
Boolean isGlobal,
String targetCluster,
CustomInstaller installer,
UpdateLicense license)
Creates UpdateItem which represents Native Component with own installer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final UpdateItem createModule(String codeName, String specificationVersion, URL distribution, String author, String downloadSize, String homepage, String publishDate, String category, Manifest manifest, Boolean needsRestart, Boolean isGlobal, String targetCluster, UpdateLicense license)
UpdateItem/code> which represents NetBeans Module in Autoupdate infrastructure.
UpdateItem is identify by codeName
and specificationVersion.
- Parameters:
codeName
- code name of modulespecificationVersion
- specification version of moduledistribution
- URL to NBM fileauthor
- name of module author or nulldownloadSize
- size of NBM file in byteshomepage
- homepage of module or nullpublishDate
- date of publish of item, in date format "yyyy/MM/dd"category
- name of categorymanifest
- java.util.jar.Manifest
describes the module in NetBeans module systemneedsRestart
- if true then IDE must be restarted after module installationisGlobal
- control if the module will be installed into the installation directory or into user's dirtargetCluster
- name of cluster where new module will be installed if installation isGloballicense
- UpdateLicense
represents license name and text of license agreement
- Returns:
- UpdateItem
public static final UpdateItem createFeature(String codeName, String specificationVersion, Set<String> dependencies, String displayName, String description, String category)
UpdateItem
which represents Feature
, it's means group
of NetBeans Modules. This Feature
is handled in UI as atomic item.
UpdateItem is identify by codeName
and specificationVersion.
- Parameters:
codeName
- code name of featurespecificationVersion
- specification version of featuredependencies
- dependencies to NetBeans modules on which is the feature baseddisplayName
- display namedescription
- descriptioncategory
- name of category
- Returns:
- UpdateItem
public static final UpdateItem createNativeComponent(String codeName, String specificationVersion, String downloadSize, Set<String> dependencies, String displayName, String description, Boolean needsRestart, Boolean isGlobal, String targetCluster, CustomInstaller installer, UpdateLicense license)
UpdateItem
which represents Native Component with own installer. This component
can be visualized in UI as common item, when an user wants to install this component then
own CustomInstaller
is call back.
codeName
- code name of the native componentspecificationVersion
- specification version of componentdependencies
- dependencies to other UpdateItem
downloadSize
- size of installation file in bytesdisplayName
- display namedescription
- descriptionneedsRestart
- if true then IDE must be restarted after component installationisGlobal
- control if the control will be installed into the installation directory or into user's dirtargetCluster
- name of cluster where new module will be installed if installation isGlobalinstaller
- CustomInstaller
call-back interfacelicense
- UpdateLicense
represents license name and text of license agreement
UpdateItem
public static final UpdateItem createInstalledNativeComponent(String codeName, String specificationVersion, Set<String> dependencies, String displayName, String description, CustomUninstaller uninstaller)
UpdateItem
which represents Native Component with own installer. This component
can be visualized in UI as common item, when an user wants to install this component then
own CustomInstaller
is call back.
codeName
- code name of the native componentspecificationVersion
- specification version of componentdependencies
- dependencies to other UpdateItem
displayName
- display namedescription
- descriptionuninstaller
- CustomUninstaller
call-back interface
UpdateItem
public static final UpdateItem createLocalization(String codeName, String specificationVersion, String moduleSpecificationVersion, Locale locale, String branding, String localizedName, String localizedDescription, String category, URL distribution, Boolean needsRestart, Boolean isGlobal, String targetCluster, UpdateLicense license)
UpdateItem
which can localized NetBeans Module in given Locale
.
codeName
- code name of the module for localizationspecificationVersion
- specification version of localizationmoduleSpecificationVersion
- specification version of the module for localizationlocale
- localebranding
- brandinglocalizedName
- localized name of modulelocalizedDescription
- localized descripton of modulecategory
- name of categorydistribution
- URL to NBM fileneedsRestart
- if true then IDE must be restarted after module installationisGlobal
- control if the module will be installed into the installation directory or into user's dirtargetCluster
- name of cluster where new module will be installed if installation isGloballicense
- UpdateLicense
represents license name and text of license agreement
UpdateItem
|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |