Class PublisherServiceImpl

    • Method Detail

      • publishCategories

        public java.util.Collection<DependencySeed> publishCategories​(java.io.File categoryDefinition)
                                                               throws FacadeException,
                                                                      java.lang.IllegalStateException
        Description copied from interface: PublisherService
        Publishes given category definitions.
        Specified by:
        publishCategories in interface PublisherService
        Parameters:
        categoryDefinition - A category.xml file as defined by the Eclipse PDE
        Returns:
        handles to the root IUs in the publisher result
        Throws:
        FacadeException - if a checked exception occurs during publishing
        java.lang.IllegalStateException
      • publishEEProfile

        public java.util.Collection<DependencySeed> publishEEProfile​(java.io.File profileFile)
                                                              throws FacadeException
        Description copied from interface: PublisherService
        Publishes the given OSGi execution environment profile file.
        Specified by:
        publishEEProfile in interface PublisherService
        Parameters:
        profileFile - the .profile file
        Returns:
        handles to the root IUs in the publisher result
        Throws:
        FacadeException - if a checked exception occurs during publishing
      • validateProfile

        private void validateProfile​(java.util.Properties props,
                                     java.io.File profileFile)
                              throws FacadeException
        Throws:
        FacadeException
      • toSeeds

        private static java.util.Collection<DependencySeed> toSeeds​(java.lang.String type,
                                                                    java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> units)