Package io.quarkus.registry.catalog
Class ExtensionOriginImpl.Builder
java.lang.Object
io.quarkus.registry.catalog.ExtensionOriginImpl.Builder
- All Implemented Interfaces:
ExtensionOrigin,ExtensionOrigin.Mutable,JsonBuilder<ExtensionOrigin>
- Direct Known Subclasses:
ExtensionCatalogImpl.Builder
- Enclosing class:
ExtensionOriginImpl
Builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.ExtensionOrigin
ExtensionOrigin.MutableNested classes/interfaces inherited from interface io.quarkus.registry.json.JsonBuilder
JsonBuilder.JsonBuilderSerializer<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleanio.quarkus.maven.dependency.ArtifactCoordsgetBom()BOM that should be imported by a project using extensions from this origin.getId()Origin ID.inthashCode()booleanWhether the origin represents a platform.removeMetadata(String key) setBom(io.quarkus.maven.dependency.ArtifactCoords bom) setMetadata(String key, Object value) setMetadata(Map<String, Object> newValues) setPlatform(boolean platform) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.registry.catalog.ExtensionOrigin
mutable
-
Field Details
-
id
-
platform
protected boolean platform -
bom
protected io.quarkus.maven.dependency.ArtifactCoords bom
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
getId
Description copied from interface:ExtensionOriginOrigin ID. E.g. GAV of the descriptor.- Specified by:
getIdin interfaceExtensionOrigin- Returns:
- origin ID
-
setId
- Specified by:
setIdin interfaceExtensionOrigin.Mutable
-
getBom
public io.quarkus.maven.dependency.ArtifactCoords getBom()Description copied from interface:ExtensionOriginBOM that should be imported by a project using extensions from this origin. This method normally won't return null. Given that any Quarkus project would typically be importing at least some version of io.quarkus:quarkus-bom even if extensions used in the project aren't managed by the quarkus-bom/ the project- Specified by:
getBomin interfaceExtensionOrigin- Returns:
- BOM coordinates
-
setBom
- Specified by:
setBomin interfaceExtensionOrigin.Mutable
-
isPlatform
public boolean isPlatform()Description copied from interface:ExtensionOriginWhether the origin represents a platform.- Specified by:
isPlatformin interfaceExtensionOrigin- Returns:
- true in case the origin is a platform, otherwise - false
-
setPlatform
- Specified by:
setPlatformin interfaceExtensionOrigin.Mutable
-
getMetadata
- Specified by:
getMetadatain interfaceExtensionOrigin- Returns:
- optional metadata attached to the origin
-
setMetadata
- Specified by:
setMetadatain interfaceExtensionOrigin.Mutable
-
setMetadata
- Specified by:
setMetadatain interfaceExtensionOrigin.Mutable
-
removeMetadata
- Specified by:
removeMetadatain interfaceExtensionOrigin.Mutable
-
build
- Specified by:
buildin interfaceExtensionOrigin.Mutable- Specified by:
buildin interfaceJsonBuilder<ExtensionOrigin>
-
equals
-
hashCode
public int hashCode() -
toString
-