Package io.quarkus.registry.catalog
Interface ExtensionOrigin
- All Known Subinterfaces:
ExtensionCatalog,ExtensionCatalog.Mutable,ExtensionOrigin.Mutable
- All Known Implementing Classes:
ExtensionCatalogImpl,ExtensionCatalogImpl.Builder,ExtensionOriginImpl,ExtensionOriginImpl.Builder
public interface ExtensionOrigin
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionOrigin.Mutablebuilder()io.quarkus.maven.dependency.ArtifactCoordsgetBom()BOM that should be imported by a project using extensions from this origin.getId()Origin ID.booleanWhether the origin represents a platform.default ExtensionOrigin.Mutablemutable()
-
Method Details
-
getId
String getId()Origin ID. E.g. GAV of the descriptor.- Returns:
- origin ID
-
getBom
io.quarkus.maven.dependency.ArtifactCoords getBom()BOM 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- Returns:
- BOM coordinates
-
isPlatform
boolean isPlatform()Whether the origin represents a platform.- Returns:
- true in case the origin is a platform, otherwise - false
-
getMetadata
- Returns:
- optional metadata attached to the origin
-
mutable
-
builder
- Returns:
- a new mutable instance
-