Class ExtensionProcessor
- java.lang.Object
-
- io.quarkus.platform.catalog.processor.ExtensionProcessor
-
public final class ExtensionProcessor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExtensionProcessor.CodestartKind
-
Method Summary
-
-
-
Method Detail
-
of
public static ExtensionProcessor of(Extension extension)
-
getBom
public static Optional<io.quarkus.maven.dependency.ArtifactCoords> getBom(Extension extension)
-
getNonQuarkusBomOnly
public static Optional<io.quarkus.maven.dependency.ArtifactCoords> getNonQuarkusBomOnly(Extension extension)
-
getCodestartKind
public static ExtensionProcessor.CodestartKind getCodestartKind(Extension extension)
-
providesCode
public static boolean providesCode(Extension extension)
-
isUnlisted
public static boolean isUnlisted(Extension extension)
-
getExtendedKeywords
public static Set<String> getExtendedKeywords(Extension extension)
List of strings to use for optimised word matching.
It includes a mix of static optimised keywords gathered from: the artifactId, name, shortname, categories and keywords extracted from the description- Returns:
- list of keywords to use for matching.
-
getSyntheticMetadata
public static Map<String,Collection<String>> getSyntheticMetadata(Extension extension)
Clean version of the metadata with a Map of key:values to ease client usage- Parameters:
extension-- Returns:
-
getExtension
public Extension getExtension()
-
getBom
public Optional<io.quarkus.maven.dependency.ArtifactCoords> getBom()
-
getNonQuarkusBomOnly
public Optional<io.quarkus.maven.dependency.ArtifactCoords> getNonQuarkusBomOnly()
-
getBuiltWithQuarkusCore
public String getBuiltWithQuarkusCore()
-
getGuide
public String getGuide()
- Returns:
- string representing the location of primary guide for this extension.
-
getShortName
public String getShortName()
-
getCodestartName
public String getCodestartName()
-
getCodestartArtifact
public String getCodestartArtifact()
-
getCodestartKind
public ExtensionProcessor.CodestartKind getCodestartKind()
-
providesCode
public boolean providesCode()
-
isUnlisted
public boolean isUnlisted()
-
getMinimumJavaVersion
public Integer getMinimumJavaVersion()
-
getExtendedKeywords
public Set<String> getExtendedKeywords()
List of strings to use for matching.
It includes a mix of static optimised keywords gathered from: the artifactId, name, shortname, categories and keywords extracted from the description- Returns:
- list of keywords to use for matching.
-
getSyntheticMetadata
public Map<String,Collection<String>> getSyntheticMetadata()
-
-