Package io.quarkus.registry.config
Class RegistryPlatformsConfigImpl.Builder
java.lang.Object
io.quarkus.registry.config.RegistryArtifactConfigImpl.Builder
io.quarkus.registry.config.RegistryPlatformsConfigImpl.Builder
- All Implemented Interfaces:
RegistryArtifactConfig,RegistryArtifactConfig.Mutable,RegistryPlatformsConfig,RegistryPlatformsConfig.Mutable,JsonBuilder<RegistryArtifactConfig>
- Enclosing class:
RegistryPlatformsConfigImpl
public static class RegistryPlatformsConfigImpl.Builder
extends RegistryArtifactConfigImpl.Builder
implements RegistryPlatformsConfig.Mutable
Builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.registry.json.JsonBuilder
JsonBuilder.JsonBuilderSerializer<T>Nested classes/interfaces inherited from interface io.quarkus.registry.config.RegistryArtifactConfig
RegistryArtifactConfig.MutableNested classes/interfaces inherited from interface io.quarkus.registry.config.RegistryPlatformsConfig
RegistryPlatformsConfig.Mutable -
Field Summary
FieldsFields inherited from class io.quarkus.registry.config.RegistryArtifactConfigImpl.Builder
artifact, disabled -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()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.setArtifact(io.quarkus.maven.dependency.ArtifactCoords artifact) setDisabled(boolean disabled) setExtensionCatalogsIncluded(Boolean extensionCatalogsIncluded) setMaven(RegistryMavenConfig mavenConfig) Methods inherited from class io.quarkus.registry.config.RegistryArtifactConfigImpl.Builder
getArtifact, isDisabledMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.registry.config.RegistryArtifactConfig
getArtifact, isDisabledMethods inherited from interface io.quarkus.registry.config.RegistryPlatformsConfig
mutable
-
Field Details
-
extensionCatalogsIncluded
-
mavenConfig
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setDisabled
- Specified by:
setDisabledin interfaceRegistryArtifactConfig.Mutable- Specified by:
setDisabledin interfaceRegistryPlatformsConfig.Mutable- Overrides:
setDisabledin classRegistryArtifactConfigImpl.Builder
-
setArtifact
public RegistryPlatformsConfig.Mutable setArtifact(io.quarkus.maven.dependency.ArtifactCoords artifact) - Specified by:
setArtifactin interfaceRegistryArtifactConfig.Mutable- Specified by:
setArtifactin interfaceRegistryPlatformsConfig.Mutable- Overrides:
setArtifactin classRegistryArtifactConfigImpl.Builder
-
getExtensionCatalogsIncluded
Description copied from interface:RegistryPlatformsConfigWhether 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.- Specified by:
getExtensionCatalogsIncludedin interfaceRegistryPlatformsConfig- Returns:
- true if the registry will be able to handle platform descriptor requests, otherwise - false
-
setExtensionCatalogsIncluded
public RegistryPlatformsConfig.Mutable setExtensionCatalogsIncluded(Boolean extensionCatalogsIncluded) - Specified by:
setExtensionCatalogsIncludedin interfaceRegistryPlatformsConfig.Mutable
-
getMaven
Description copied from interface:RegistryPlatformsConfigAllows configuring a Maven repository to resolve platform extension catalogs from.- Specified by:
getMavenin interfaceRegistryPlatformsConfig- Returns:
- Maven repository configuration or null
-
setMaven
- Specified by:
setMavenin interfaceRegistryPlatformsConfig.Mutable
-
build
- Specified by:
buildin interfaceJsonBuilder<RegistryArtifactConfig>- Specified by:
buildin interfaceRegistryArtifactConfig.Mutable- Specified by:
buildin interfaceRegistryPlatformsConfig.Mutable- Overrides:
buildin classRegistryArtifactConfigImpl.Builder- Returns:
- an immutable copy of this config
-