public interface IProductDescriptor
| Modifier and Type | Field and Description |
|---|---|
static int |
INCLUDED_FEATURES
Flag for
getFeatures(int) to obtain the features included in the product. |
static int |
ROOT_FEATURES
Flag for
getFeatures(int) to obtain the features to be installed as separately updatable roots. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplication()
Returns the Applicaiton extension point ID
|
java.util.List<BundleInfo> |
getBundleInfos()
Returns a List
|
java.util.List<IVersionedId> |
getBundles(boolean includeFragments)
Returns the bundles listed in this product.
|
java.lang.String |
getConfigIniPath(java.lang.String os)
Returns the path to the config.ini file as specified in the .product file.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigurationProperties()
Returns the properties for a product file.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigurationProperties(java.lang.String os,
java.lang.String arch)
Returns the properties for this product file for a given OS and
architecture combination.
|
java.util.List<IVersionedId> |
getFeatures()
Returns the features listed in the product.
|
java.util.List<IVersionedId> |
getFeatures(int options)
Returns the features listed in the product.
|
java.util.List<IVersionedId> |
getFragments()
Returns the fragments listed in the product.
|
java.lang.String[] |
getIcons(java.lang.String os)
Returns a list of icons for this product for a given OS.
|
java.lang.String |
getId()
Returns the ID for this product.
|
java.lang.String |
getLauncherName()
Gets the name of the launcher.
|
java.lang.String |
getLicenseText()
Returns the license text for this product
|
java.lang.String |
getLicenseURL()
Returns the license URL for this product
|
java.io.File |
getLocation()
This is needed for config.ini files and p2 advice
|
ProductContentType |
getProductContentType()
Specifies what kind of installable units (e.g. bundles, features or everything) are included in the product.
|
java.lang.String |
getProductId()
Returns the Product extension point ID
|
java.lang.String |
getProductName()
Returns the name of the product
|
java.lang.String |
getProgramArguments(java.lang.String os)
Returns the program arguments for this product for a given OS.
|
java.lang.String |
getProgramArguments(java.lang.String os,
java.lang.String arch)
Returns the program arguments for this product for a given OS and
architecture combination.
|
java.util.List<IRepositoryReference> |
getRepositoryEntries()
Returns a List
|
java.lang.String |
getSplashLocation()
Returns the ID of the bundle in which the splash screen resides.
|
java.lang.String |
getVersion()
Returns the version of the product.
|
java.lang.String |
getVMArguments(java.lang.String os)
Returns the VM arguments for this product for a given OS.
|
java.lang.String |
getVMArguments(java.lang.String os,
java.lang.String arch)
Returns the VM arguments for this product for a given OS and architecture
combination.
|
boolean |
hasBundles(boolean includeFragments)
Returns
true when getBundles(includeFragments) returns a non-empty list. |
boolean |
hasFeatures()
Returns
true when getFeatures() returns a non-empty list. |
boolean |
includeLaunchers()
Determines if the launchers should be included in the published product
|
boolean |
useFeatures()
Specifies whether this product was built using features only or not.
|
static final int INCLUDED_FEATURES
getFeatures(int) to obtain the features included in the product.static final int ROOT_FEATURES
getFeatures(int) to obtain the features to be installed as separately updatable roots.java.lang.String getLauncherName()
java.util.List<IVersionedId> getBundles(boolean includeFragments)
useFeatures() returns false.includeFragments - whether or not to include the fragments in the return valueboolean hasBundles(boolean includeFragments)
true when getBundles(includeFragments) returns a non-empty list.java.util.List<IVersionedId> getFragments()
useFeatures()java.util.List<IVersionedId> getFeatures()
getFeatures(INCLUDED_FEATURES). Note: These features are only part of
the product if useFeatures() returns true.boolean hasFeatures()
true when getFeatures() returns a non-empty list.java.util.List<IVersionedId> getFeatures(int options)
useFeatures() returns true.options - bitmask to indicate what kind of features to return.INCLUDED_FEATURES,
ROOT_FEATURESjava.lang.String getConfigIniPath(java.lang.String os)
java.lang.String getId()
java.lang.String getProductId()
java.lang.String getApplication()
java.lang.String getSplashLocation()
java.lang.String getProductName()
boolean useFeatures()
ProductContentType getProductContentType()
java.lang.String getVersion()
java.lang.String getVMArguments(java.lang.String os)
java.lang.String getVMArguments(java.lang.String os,
java.lang.String arch)
java.lang.String getProgramArguments(java.lang.String os)
java.lang.String getProgramArguments(java.lang.String os,
java.lang.String arch)
java.util.Map<java.lang.String,java.lang.String> getConfigurationProperties()
java.util.Map<java.lang.String,java.lang.String> getConfigurationProperties(java.lang.String os,
java.lang.String arch)
java.lang.String[] getIcons(java.lang.String os)
java.util.List<BundleInfo> getBundleInfos()
java.io.File getLocation()
boolean includeLaunchers()
java.lang.String getLicenseURL()
java.lang.String getLicenseText()
java.util.List<IRepositoryReference> getRepositoryEntries()