Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      Product()  
      Product​(java.lang.String id)  
      Product​(java.lang.String id, java.lang.String attachId)  
    • 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.
    • Constructor Detail

      • Product

        public Product()
      • Product

        Product​(java.lang.String id)
      • Product

        Product​(java.lang.String id,
                java.lang.String attachId)
    • 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 class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object