public class ProductFileAdvice extends AbstractAdvice implements IExecutableAdvice, IConfigAdvice, IBrandingAdvice
| Constructor and Description |
|---|
ProductFileAdvice(IProductDescriptor product,
java.lang.String configSpec)
Constructs a new ProductFileAdvice for a given product file and a particular
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
BundleInfo[] |
getBundles() |
protected java.lang.String |
getConfigSpec() |
java.lang.String |
getExecutableName()
Returns the name of the launcher.
|
java.lang.String[] |
getIcons()
Returns the icons defined for this product
|
protected java.lang.String |
getId() |
java.lang.String |
getLicenseText()
Returns the license URL for this product
|
java.lang.String |
getLicenseURL()
Returns the license text for this product
|
java.lang.String |
getOS()
Returns the operating system that this advice is configured to work with.
|
IProductDescriptor |
getProductFile()
Returns the product file parser that this advice is working on
|
java.lang.String[] |
getProgramArguments()
Returns the program arguments for this product.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the properties associated with this product.
|
java.util.List<IRepositoryReference> |
getUpdateRepositories()
Returns the update repositories for this product
|
protected Version |
getVersion() |
java.lang.String[] |
getVMArguments()
Returns the VM arguments for this product.
|
protected boolean |
matchConfig(java.lang.String spec,
boolean includeDefault) |
public ProductFileAdvice(IProductDescriptor product, java.lang.String configSpec)
protected java.lang.String getId()
protected Version getVersion()
public java.lang.String[] getProgramArguments()
getProgramArguments in interface IExecutableAdvicepublic java.lang.String[] getVMArguments()
getVMArguments in interface IExecutableAdvicepublic BundleInfo[] getBundles()
getBundles in interface IConfigAdvicepublic java.util.Map<java.lang.String,java.lang.String> getProperties()
getProperties in interface IConfigAdvicepublic java.lang.String getExecutableName()
getExecutableName in interface IBrandingAdvicegetExecutableName in interface IExecutableAdvicenull if none.public IProductDescriptor getProductFile()
public java.lang.String[] getIcons()
getIcons in interface IBrandingAdvicenull if none.public java.lang.String getOS()
getOS in interface IBrandingAdvicepublic java.lang.String getLicenseURL()
public java.lang.String getLicenseText()
public java.util.List<IRepositoryReference> getUpdateRepositories()
protected java.lang.String getConfigSpec()
protected boolean matchConfig(java.lang.String spec,
boolean includeDefault)