Package io.quarkus.registry.catalog
Class ExtensionCatalogImpl
- java.lang.Object
-
- io.quarkus.registry.catalog.ExtensionOriginImpl
-
- io.quarkus.registry.catalog.ExtensionCatalogImpl
-
- All Implemented Interfaces:
ExtensionCatalog,ExtensionOrigin
public class ExtensionCatalogImpl extends ExtensionOriginImpl implements ExtensionCatalog
Asymmetric data manipulation: Deserialization always uses the builder; Serialization always uses the Impl.- See Also:
creates a builder,creates a builder from an existing ExtensionCatalog,creates a builder from the contents of a file,creates (and builds) a builder from the contents of a file,creates (and builds) a builder from the contents of an input stream,for writing an ExtensionCatalog to a file,for building a builder before serializing it.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionCatalogImpl.BuilderBuilder.-
Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.ExtensionCatalog
ExtensionCatalog.Mutable
-
Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.ExtensionOrigin
ExtensionOrigin.Mutable
-
-
Field Summary
-
Fields inherited from class io.quarkus.registry.catalog.ExtensionOriginImpl
bom, id, metadata, platform
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Category>getCategories()Extension categoriesList<ExtensionOrigin>getDerivedFrom()All the origins this catalog is derived from.List<Extension>getExtensions()Quarkus extensions that constitute the catalog.StringgetQuarkusCoreVersion()Quarkus core version used by the extensions in this catalog.StringgetUpstreamQuarkusCoreVersion()In case the catalog was built for a custom version of the Quarkus core, this version represents the corresponding upstream community Quarkus core version.-
Methods inherited from class io.quarkus.registry.catalog.ExtensionOriginImpl
equals, getBom, getId, getMetadata, hashCode, isPlatform, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.registry.catalog.ExtensionCatalog
mutable, persist
-
Methods inherited from interface io.quarkus.registry.catalog.ExtensionOrigin
getBom, getId, getMetadata, isPlatform
-
-
-
-
Method Detail
-
getQuarkusCoreVersion
public String getQuarkusCoreVersion()
Description copied from interface:ExtensionCatalogQuarkus core version used by the extensions in this catalog.- Specified by:
getQuarkusCoreVersionin interfaceExtensionCatalog- Returns:
- Quarkus core version used by the extensions in this catalog
-
getUpstreamQuarkusCoreVersion
public String getUpstreamQuarkusCoreVersion()
Description copied from interface:ExtensionCatalogIn case the catalog was built for a custom version of the Quarkus core, this version represents the corresponding upstream community Quarkus core version. This is done to be able to link the custom builds of Quarkus back to the upstream community extensions ecosystem. This method may return null in case the corresponding version does not exist in the upstream community or simply to link back to it.- Specified by:
getUpstreamQuarkusCoreVersionin interfaceExtensionCatalog- Returns:
- the upstream community Quarkus core version corresponding to the Quarkus core version used in this catalog
-
getDerivedFrom
public List<ExtensionOrigin> getDerivedFrom()
Description copied from interface:ExtensionCatalogAll the origins this catalog is derived from.- Specified by:
getDerivedFromin interfaceExtensionCatalog- Returns:
- all the origins this catalog derives from.
-
getExtensions
public List<Extension> getExtensions()
Description copied from interface:ExtensionCatalogQuarkus extensions that constitute the catalog.- Specified by:
getExtensionsin interfaceExtensionCatalog- Returns:
- Quarkus extensions that constitute the catalog.
-
getCategories
public List<Category> getCategories()
Description copied from interface:ExtensionCatalogExtension categories- Specified by:
getCategoriesin interfaceExtensionCatalog- Returns:
- extension categories
-
-