Package io.quarkus.registry.catalog
Class ExtensionOriginImpl
java.lang.Object
io.quarkus.registry.catalog.ExtensionOriginImpl
- All Implemented Interfaces:
ExtensionOrigin
- Direct Known Subclasses:
ExtensionCatalogImpl
Asymmetric data manipulation:
Deserialization always uses the builder;
Serialization always uses the Impl.
Note the scope for IdentityInfo is ExtensionOrigin, to cover both the builder and the impl.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.quarkus.registry.catalog.ExtensionOrigin
ExtensionOrigin.Mutable -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotected -
Method Summary
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 final boolean platform -
bom
protected final io.quarkus.maven.dependency.ArtifactCoords bom -
metadata
-
-
Constructor Details
-
ExtensionOriginImpl
-
ExtensionOriginImpl
-
-
Method Details
-
getId
Description copied from interface:ExtensionOriginOrigin ID. E.g. GAV of the descriptor.- Specified by:
getIdin interfaceExtensionOrigin- Returns:
- origin ID
-
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
-
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
-
getMetadata
- Specified by:
getMetadatain interfaceExtensionOrigin- Returns:
- optional metadata attached to the origin
-
equals
-
hashCode
public int hashCode() -
toString
-