Interface RegistryPlatformsConfig

All Superinterfaces:
RegistryArtifactConfig
All Known Subinterfaces:
RegistryPlatformsConfig.Mutable
All Known Implementing Classes:
RegistryPlatformsConfigImpl, RegistryPlatformsConfigImpl.Builder

public interface RegistryPlatformsConfig extends RegistryArtifactConfig
Configuration related to the resolution of catalogs of available platforms.
  • Method Details

    • getExtensionCatalogsIncluded

      Boolean getExtensionCatalogsIncluded()
      Whether the client should send requests to resolve the platform extension catalogs (platform descriptors) to the registry or resolve them from Maven Central directly instead. Returning null from this method will be equivalent to returning false, in which case the client will not send requests to resolve platform extension catalogs to the registry.
      Returns:
      true if the registry will be able to handle platform descriptor requests, otherwise - false
    • getMaven

      Allows configuring a Maven repository to resolve platform extension catalogs from.
      Returns:
      Maven repository configuration or null
    • mutable

      Specified by:
      mutable in interface RegistryArtifactConfig
      Returns:
      a mutable copy of this config
    • builder

      Returns:
      a new mutable instance