Package io.quarkus.registry.config
Class RegistryArtifactConfigImpl.Builder
java.lang.Object
io.quarkus.registry.config.RegistryArtifactConfigImpl.Builder
- All Implemented Interfaces:
RegistryArtifactConfig,RegistryArtifactConfig.Mutable,JsonBuilder<RegistryArtifactConfig>
- Direct Known Subclasses:
RegistryNonPlatformExtensionsConfigImpl.Builder,RegistryPlatformsConfigImpl.Builder
- Enclosing class:
RegistryArtifactConfigImpl
public static class RegistryArtifactConfigImpl.Builder
extends Object
implements RegistryArtifactConfig.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.Mutable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()io.quarkus.maven.dependency.ArtifactCoordsCatalog artifact coordinates in the registry.booleanWhether this catalog artifact is not supported by the registry or should simply be disabled on the client side.setArtifact(io.quarkus.maven.dependency.ArtifactCoords artifact) setDisabled(boolean disabled) Methods 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
mutable
-
Field Details
-
disabled
protected boolean disabled -
artifact
protected io.quarkus.maven.dependency.ArtifactCoords artifact
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isDisabled
public boolean isDisabled()Description copied from interface:RegistryArtifactConfigWhether this catalog artifact is not supported by the registry or should simply be disabled on the client side.- Specified by:
isDisabledin interfaceRegistryArtifactConfig- Returns:
- true, if the catalog represented by this artifact should be excluded from processing
-
setDisabled
- Specified by:
setDisabledin interfaceRegistryArtifactConfig.Mutable
-
getArtifact
public io.quarkus.maven.dependency.ArtifactCoords getArtifact()Description copied from interface:RegistryArtifactConfigCatalog artifact coordinates in the registry.- Specified by:
getArtifactin interfaceRegistryArtifactConfig- Returns:
- catalog artifact coordinates in the registry
-
setArtifact
public RegistryArtifactConfig.Mutable setArtifact(io.quarkus.maven.dependency.ArtifactCoords artifact) - Specified by:
setArtifactin interfaceRegistryArtifactConfig.Mutable
-
build
- Specified by:
buildin interfaceJsonBuilder<RegistryArtifactConfig>- Specified by:
buildin interfaceRegistryArtifactConfig.Mutable- Returns:
- an immutable copy of this config
-