Class ExpandedProduct

  • All Implemented Interfaces:
    org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor

    class ExpandedProduct
    extends java.lang.Object
    implements org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
    • Field Detail

      • defaults

        private final org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor defaults
      • expandedVersion

        private final java.lang.String expandedVersion
      • expandedBundles

        private java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> expandedBundles
      • expandedFeatures

        private java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> expandedFeatures
      • expandedRootFeatures

        private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> expandedRootFeatures
    • Constructor Detail

      • ExpandedProduct

        public ExpandedProduct​(org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor originalProduct,
                               java.lang.String buildQualifier,
                               P2TargetPlatform targetPlatform,
                               Interpolator interpolator,
                               MavenLogger logger)
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Specified by:
        getVersion in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getBundles

        public java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> getBundles​(boolean includeFragments)
        Specified by:
        getBundles in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getFragments

        public java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> getFragments()
        Specified by:
        getFragments in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getFeatures

        public java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> getFeatures()
        Specified by:
        getFeatures in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getFeatures

        public java.util.List<org.eclipse.equinox.p2.metadata.IVersionedId> getFeatures​(int options)
        Specified by:
        getFeatures in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getRootFeatures

        public java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> getRootFeatures()
      • expandVersions

        private void expandVersions()
      • getConfigurationProperties

        public java.util.Map<java.lang.String,​java.lang.String> getConfigurationProperties()
        Specified by:
        getConfigurationProperties in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getConfigurationProperties

        public java.util.Map<java.lang.String,​java.lang.String> getConfigurationProperties​(java.lang.String os,
                                                                                                 java.lang.String arch)
        Specified by:
        getConfigurationProperties in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • expandVariables

        private java.util.Map<java.lang.String,​java.lang.String> expandVariables​(java.util.Map<java.lang.String,​java.lang.String> originalMap)
      • hasBundles

        public boolean hasBundles​(boolean includeFragments)
        Specified by:
        hasBundles in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • hasFeatures

        public boolean hasFeatures()
        Specified by:
        hasFeatures in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getLauncherName

        public java.lang.String getLauncherName()
        Specified by:
        getLauncherName in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getConfigIniPath

        public java.lang.String getConfigIniPath​(java.lang.String os)
        Specified by:
        getConfigIniPath in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getProductId

        public java.lang.String getProductId()
        Specified by:
        getProductId in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getApplication

        public java.lang.String getApplication()
        Specified by:
        getApplication in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getSplashLocation

        public java.lang.String getSplashLocation()
        Specified by:
        getSplashLocation in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getProductName

        public java.lang.String getProductName()
        Specified by:
        getProductName in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • useFeatures

        public boolean useFeatures()
        Specified by:
        useFeatures in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getProductContentType

        public org.eclipse.equinox.internal.p2.publisher.eclipse.ProductContentType getProductContentType()
        Specified by:
        getProductContentType in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getVMArguments

        public java.lang.String getVMArguments​(java.lang.String os)
        Specified by:
        getVMArguments in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getVMArguments

        public java.lang.String getVMArguments​(java.lang.String os,
                                               java.lang.String arch)
        Specified by:
        getVMArguments in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getProgramArguments

        public java.lang.String getProgramArguments​(java.lang.String os)
        Specified by:
        getProgramArguments in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getProgramArguments

        public java.lang.String getProgramArguments​(java.lang.String os,
                                                    java.lang.String arch)
        Specified by:
        getProgramArguments in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getIcons

        public java.lang.String[] getIcons​(java.lang.String os)
        Specified by:
        getIcons in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • guessRealIconPath

        private java.lang.String guessRealIconPath​(java.lang.String path)
      • getBundleInfos

        public java.util.List<org.eclipse.equinox.frameworkadmin.BundleInfo> getBundleInfos()
        Specified by:
        getBundleInfos in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getLocation

        public java.io.File getLocation()
        Specified by:
        getLocation in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • includeLaunchers

        public boolean includeLaunchers()
        Specified by:
        includeLaunchers in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getLicenseURL

        public java.lang.String getLicenseURL()
        Specified by:
        getLicenseURL in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getLicenseText

        public java.lang.String getLicenseText()
        Specified by:
        getLicenseText in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getRepositoryEntries

        public java.util.List<org.eclipse.equinox.p2.repository.IRepositoryReference> getRepositoryEntries()
        Specified by:
        getRepositoryEntries in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor
      • getVM

        public java.lang.String getVM​(java.lang.String os)
        Specified by:
        getVM in interface org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor