Class ProductConfig
- java.lang.Object
-
- org.eclipse.tycho.plugins.p2.director.ProductConfig
-
class ProductConfig extends java.lang.ObjectEffective product configuration for this Maven plug-in. This is the configuration provided by the user (in thesection), or the product file in the root directory of the module if no user configuration is provided. Note: Since the attachId defaults to
null, explicit configuration must be provided if there is more than one product file.
-
-
Constructor Summary
Constructors Constructor Description ProductConfig(java.util.List<Product> userConfig, java.util.Collection<DependencySeed> projectSeeds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static voidcheckConfiguredProductsExist(Product configuredProduct, java.util.Collection<DependencySeed> projectSeeds)private voidfillInInstallationRoots(java.util.List<Product> products, java.util.Collection<DependencySeed> projectSeeds)java.util.List<Product>getProducts()private static java.util.List<Product>getPublishedProduct(java.util.Collection<DependencySeed> projectSeeds)booleanuniqueAttachIds()
-
-
-
Field Detail
-
products
private java.util.List<Product> products
-
-
Constructor Detail
-
ProductConfig
public ProductConfig(java.util.List<Product> userConfig, java.util.Collection<DependencySeed> projectSeeds) throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
-
-
Method Detail
-
checkConfiguredProductsExist
private static void checkConfiguredProductsExist(Product configuredProduct, java.util.Collection<DependencySeed> projectSeeds) throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
-
getPublishedProduct
private static java.util.List<Product> getPublishedProduct(java.util.Collection<DependencySeed> projectSeeds)
-
fillInInstallationRoots
private void fillInInstallationRoots(java.util.List<Product> products, java.util.Collection<DependencySeed> projectSeeds)
-
uniqueAttachIds
public boolean uniqueAttachIds()
-
getProducts
public java.util.List<Product> getProducts()
-
-