Class ManifestVersionResolver

java.lang.Object
org.wildfly.prospero.metadata.ManifestVersionResolver

public class ManifestVersionResolver extends Object
Identifies manifests used to provision installation. In case of Maven-based manifests, the identifier is the full GAV; for URL-based manifests it's the URL and a hash of the manifest content; for open manifests it's list of repositories + strategy.
  • Constructor Details

    • ManifestVersionResolver

      @Deprecated public ManifestVersionResolver(Path localMavenCache, org.eclipse.aether.RepositorySystem system)
      Deprecated.
      creates the resolver using an offline repository session
      Parameters:
      localMavenCache - - path to the local cache used to resolve metadata during provisioning
      system -
  • Method Details

    • getCurrentVersions

      public static ManifestVersionRecord getCurrentVersions(org.wildfly.channel.ChannelSession session) throws IOException
      Throws:
      IOException
    • getCurrentVersions

      @Deprecated public ManifestVersionRecord getCurrentVersions(List<org.wildfly.channel.Channel> channels) throws IOException
      Deprecated.
      Resolves the latest versions of manifests used in channels
      Parameters:
      channels - - list of provisioned channels
      Returns:
      ManifestVersionRecord of latest available versions of manifests
      Throws:
      IOException - - if unable to resolve any of the manifests