Package io.quarkus.registry
Class ExtensionCatalogResolver
- java.lang.Object
-
- io.quarkus.registry.ExtensionCatalogResolver
-
public class ExtensionCatalogResolver extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classExtensionCatalogResolver.Builder
-
Constructor Summary
Constructors Constructor Description ExtensionCatalogResolver()
-
Method Summary
-
-
-
Method Detail
-
empty
public static ExtensionCatalogResolver empty()
-
builder
public static ExtensionCatalogResolver.Builder builder()
-
getConfig
public RegistriesConfig getConfig()
-
hasRegistries
public boolean hasRegistries()
-
resolvePlatformCatalog
public PlatformCatalog resolvePlatformCatalog() throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolvePlatformCatalog
public PlatformCatalog resolvePlatformCatalog(String quarkusVersion) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolvePlatformCatalogFromRegistry
public PlatformCatalog resolvePlatformCatalogFromRegistry(String registryId) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolvePlatformCatalogFromRegistry
public PlatformCatalog resolvePlatformCatalogFromRegistry(String registryId, String quarkusVersion) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolveExtensionCatalog
public ExtensionCatalog resolveExtensionCatalog() throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolveExtensionCatalog
public ExtensionCatalog resolveExtensionCatalog(String quarkusCoreVersion) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolveExtensionCatalog
public ExtensionCatalog resolveExtensionCatalog(PlatformStreamCoords streamCoords) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
findPlatformStreamOrFail
protected PlatformStream findPlatformStreamOrFail(PlatformStreamCoords streamCoords) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
findPlatformStreamOrNull
protected PlatformStream findPlatformStreamOrNull(PlatformStreamCoords streamCoords, boolean amongRecommended) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
unknownStreamException
protected RegistryResolutionException unknownStreamException(PlatformStreamCoords stream, boolean amongRecommended) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
resolveExtensionCatalog
public ExtensionCatalog resolveExtensionCatalog(Collection<io.quarkus.maven.dependency.ArtifactCoords> preferredPlatforms) throws RegistryResolutionException
- Throws:
RegistryResolutionException
-
clearRegistryCache
public void clearRegistryCache() throws RegistryResolutionException- Throws:
RegistryResolutionException
-
appendNonPlatformExtensions
public void appendNonPlatformExtensions(io.quarkus.registry.RegistryExtensionResolver registry, io.quarkus.registry.ExtensionCatalogResolver.ExtensionCatalogBuilder catalogBuilder, String quarkusVersion) throws RegistryResolutionException- Throws:
RegistryResolutionException
-
-