Interface ExtensionOrigin

All Known Subinterfaces:
ExtensionCatalog, ExtensionCatalog.Mutable, ExtensionOrigin.Mutable
All Known Implementing Classes:
ExtensionCatalogImpl, ExtensionCatalogImpl.Builder, ExtensionOriginImpl, ExtensionOriginImpl.Builder

public interface ExtensionOrigin
  • 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

      Map<String,Object> getMetadata()
      Returns:
      optional metadata attached to the origin
    • mutable

      default ExtensionOrigin.Mutable mutable()
    • builder

      static ExtensionOrigin.Mutable builder()
      Returns:
      a new mutable instance