Class Product
- java.lang.Object
-
- org.eclipse.tycho.plugins.p2.director.Product
-
public final class Product extends java.lang.ObjectValue object for the configuration of this Maven plug-in. Used to select products to be materialized and to specify the classifier under which the product archives artifacts are attached.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringarchiveFileNameThe name of the output archive file (without extension).private java.lang.StringattachIdThe classifier for materialized products is this string followed by the platform (OS, WS Arch).private java.util.List<DependencySeed>extraInstallationSeedsList of units to be installed on root level together with the product.private java.lang.StringidInstallable unit ID of the product.private java.lang.StringrootFolderThe name of the root folder of the materialized product.private java.util.Map<java.lang.String,java.lang.String>rootFoldersOS-specific name of the root folder of the materialized product using osgi.os environment values as keys.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInstallationSeed(DependencySeed seed)booleanequals(java.lang.Object obj)private <T> booleanequals(T left, T right)java.util.List<DependencySeed>getAdditionalInstallationSeeds()java.lang.StringgetArchiveFileName()java.lang.StringgetAttachId()java.lang.StringgetId()java.lang.StringgetRootFolder(java.lang.String os)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
id
private java.lang.String id
Installable unit ID of the product. In the .product file, this corresponds to the 'uid' attribute in 'product' tag.
-
attachId
private java.lang.String attachId
The classifier for materialized products is this string followed by the platform (OS, WS Arch). May be omitted.
-
rootFolder
private java.lang.String rootFolder
The name of the root folder of the materialized product. May be omitted, which results in no root folder.
-
rootFolders
private java.util.Map<java.lang.String,java.lang.String> rootFolders
OS-specific name of the root folder of the materialized product using osgi.os environment values as keys. Has precedence over rootFolder.
-
archiveFileName
private java.lang.String archiveFileName
The name of the output archive file (without extension). If omitted, the id will be used instead.
-
extraInstallationSeeds
private java.util.List<DependencySeed> extraInstallationSeeds
List of units to be installed on root level together with the product.
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getAttachId
public java.lang.String getAttachId()
-
getRootFolder
public java.lang.String getRootFolder(java.lang.String os)
-
getArchiveFileName
public java.lang.String getArchiveFileName()
-
addInstallationSeed
public void addInstallationSeed(DependencySeed seed)
-
getAdditionalInstallationSeeds
public java.util.List<DependencySeed> getAdditionalInstallationSeeds()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
equals
private <T> boolean equals(T left, T right)
-
-