Class ExtensionProcessor


  • public final class ExtensionProcessor
    extends Object
    • Method Detail

      • getShortName

        public static String getShortName​(Extension extension)
      • getBuiltWithQuarkusCore

        public static String getBuiltWithQuarkusCore​(Extension extension)
      • getCodestartName

        public static String getCodestartName​(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)
      • getCodestartLanguages

        public static List<String> getCodestartLanguages​(Extension extension)
      • getCodestartArtifact

        public static String getCodestartArtifact​(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()
      • getCategories

        public List<String> getCategories()
      • getCodestartLanguages

        public List<String> getCodestartLanguages()
      • getCodestartArtifact

        public String getCodestartArtifact()
      • providesCode

        public boolean providesCode()
      • isUnlisted

        public boolean isUnlisted()
      • 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.
      • getMetadataValue

        public static io.quarkus.platform.catalog.processor.MetadataValue getMetadataValue​(Extension extension,
                                                                                           String path)