Package org.wildfly.prospero.metadata
Class ManifestVersionResolver
java.lang.Object
org.wildfly.prospero.metadata.ManifestVersionResolver
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 Summary
ConstructorsConstructorDescriptionManifestVersionResolver(Path localMavenCache, org.eclipse.aether.RepositorySystem system) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetCurrentVersions(List<org.wildfly.channel.Channel> channels) Deprecated.static ManifestVersionRecordgetCurrentVersions(org.wildfly.channel.ChannelSession session)
-
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 provisioningsystem-
-
-
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:
ManifestVersionRecordof latest available versions of manifests- Throws:
IOException- - if unable to resolve any of the manifests
-