Package io.quarkus.registry.config
Interface RegistryPlatformsConfig
- All Superinterfaces:
RegistryArtifactConfig
- All Known Subinterfaces:
RegistryPlatformsConfig.Mutable
- All Known Implementing Classes:
RegistryPlatformsConfigImpl,RegistryPlatformsConfigImpl.Builder
Configuration related to the resolution of catalogs of available platforms.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()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.getMaven()Allows configuring a Maven repository to resolve platform extension catalogs from.default RegistryPlatformsConfig.Mutablemutable()Methods inherited from interface io.quarkus.registry.config.RegistryArtifactConfig
getArtifact, isDisabled
-
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. Returningnullfrom this method will be equivalent to returningfalse, 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
RegistryMavenConfig getMaven()Allows configuring a Maven repository to resolve platform extension catalogs from.- Returns:
- Maven repository configuration or null
-
mutable
- Specified by:
mutablein interfaceRegistryArtifactConfig- Returns:
- a mutable copy of this config
-
builder
- Returns:
- a new mutable instance
-