Class Product
- java.lang.Object
-
- org.eclipse.tycho.plugins.p2.director.Product
-
public final class Product extends java.lang.Object
Value 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.String
archiveFileName
The name of the output archive file (without extension).private java.lang.String
attachId
The classifier for materialized products is this string followed by the platform (OS, WS Arch).private java.util.List<DependencySeed>
extraInstallationSeeds
List of units to be installed on root level together with the product.private java.lang.String
id
Installable unit ID of the product.private java.lang.String
rootFolder
The name of the root folder of the materialized product.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInstallationSeed(DependencySeed seed)
boolean
equals(java.lang.Object obj)
private <T> boolean
equals(T left, T right)
java.util.List<DependencySeed>
getAdditionalInstallationSeeds()
java.lang.String
getArchiveFileName()
java.lang.String
getAttachId()
java.lang.String
getId()
java.lang.String
getRootFolder(java.lang.String os)
int
hashCode()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
equals
private <T> boolean equals(T left, T right)
-
-