Class TestRegistryClient

  • All Implemented Interfaces:
    io.quarkus.registry.client.RegistryCache, io.quarkus.registry.client.RegistryClient, io.quarkus.registry.client.RegistryConfigResolver, io.quarkus.registry.client.RegistryNonPlatformExtensionsResolver, io.quarkus.registry.client.RegistryPlatformExtensionsResolver, io.quarkus.registry.client.RegistryPlatformsResolver

    public class TestRegistryClient
    extends Object
    implements io.quarkus.registry.client.RegistryClient
    • Constructor Detail

      • TestRegistryClient

        public TestRegistryClient​(io.quarkus.registry.client.spi.RegistryClientEnvironment env,
                                  io.quarkus.registry.config.RegistryConfig clientConfig)
    • Method Detail

      • resolveNonPlatformExtensions

        public io.quarkus.registry.catalog.ExtensionCatalog.Mutable resolveNonPlatformExtensions​(String quarkusVersion)
                                                                                          throws io.quarkus.registry.RegistryResolutionException
        Specified by:
        resolveNonPlatformExtensions in interface io.quarkus.registry.client.RegistryNonPlatformExtensionsResolver
        Throws:
        io.quarkus.registry.RegistryResolutionException
      • resolvePlatformExtensions

        public io.quarkus.registry.catalog.ExtensionCatalog.Mutable resolvePlatformExtensions​(io.quarkus.maven.dependency.ArtifactCoords platformCoords)
                                                                                       throws io.quarkus.registry.RegistryResolutionException
        Specified by:
        resolvePlatformExtensions in interface io.quarkus.registry.client.RegistryPlatformExtensionsResolver
        Throws:
        io.quarkus.registry.RegistryResolutionException
      • resolvePlatforms

        public io.quarkus.registry.catalog.PlatformCatalog.Mutable resolvePlatforms​(String quarkusVersion)
                                                                             throws io.quarkus.registry.RegistryResolutionException
        Specified by:
        resolvePlatforms in interface io.quarkus.registry.client.RegistryPlatformsResolver
        Throws:
        io.quarkus.registry.RegistryResolutionException
      • resolveRegistryConfig

        public io.quarkus.registry.config.RegistryConfig resolveRegistryConfig()
                                                                        throws io.quarkus.registry.RegistryResolutionException
        Specified by:
        resolveRegistryConfig in interface io.quarkus.registry.client.RegistryConfigResolver
        Throws:
        io.quarkus.registry.RegistryResolutionException
      • clearCache

        public void clearCache()
        Specified by:
        clearCache in interface io.quarkus.registry.client.RegistryCache
      • getDefaultConfig

        public static io.quarkus.registry.config.RegistryConfig getDefaultConfig()