Class 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 Detail

      • ManifestVersionResolver

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

      • getCurrentVersions

        public ManifestVersionRecord getCurrentVersions​(List<org.wildfly.channel.Channel> channels)
                                                 throws IOException
        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