Interface LPKGVerifier


public interface LPKGVerifier
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.osgi.framework.Bundle>
    verify(File lpkgFile)
    Verifies that the file is deployable as an LPKG bundle.
  • Method Details

    • verify

      List<org.osgi.framework.Bundle> verify(File lpkgFile) throws LPKGVerifyException
      Verifies that the file is deployable as an LPKG bundle.
      Parameters:
      lpkgFile - the file to verify
      Returns:
      the older bundles with the same symbolic name and lower versions. The older bundles must be uninstalled before the new LPKG file can be installed. When no older bundles are found, this method returns an empty list.
      Throws:
      LPKGVerifyException - if the LPKG file does not contain a liferay-marketplace.properties file, if the liferay-marketplace.properties file does not have a valid title and version, or if a bundle already exists with the same symbolic name and version