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 Modifier and Type Interface Description static interfaceExtensionOrigin.Mutable
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ExtensionOrigin.Mutablebuilder()io.quarkus.maven.dependency.ArtifactCoordsgetBom()BOM that should be imported by a project using extensions from this origin.StringgetId()Origin ID.Map<String,Object>getMetadata()booleanisPlatform()Whether the origin represents a platform.default ExtensionOrigin.Mutablemutable()
-
-
-
Method Detail
-
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
-
mutable
default ExtensionOrigin.Mutable mutable()
-
builder
static ExtensionOrigin.Mutable builder()
- Returns:
- a new mutable instance
-
-