Class JBangCatalogService

    • Constructor Detail

      • JBangCatalogService

        public JBangCatalogService​(io.quarkus.devtools.messagewriter.MessageWriter output)
      • JBangCatalogService

        public JBangCatalogService​(io.quarkus.devtools.messagewriter.MessageWriter output,
                                   String pluginPrefix,
                                   String fallbackCatalog,
                                   String... remoteCatalogs)
      • JBangCatalogService

        public JBangCatalogService​(boolean interactiveMode,
                                   io.quarkus.devtools.messagewriter.MessageWriter output,
                                   String pluginPrefix,
                                   String fallbackCatalog,
                                   String... remoteCatalogs)
    • Method Detail

      • readCombinedCatalog

        public JBangCatalog readCombinedCatalog​(Optional<Path> projectDir,
                                                Optional<Path> userDir)
        Read the JBangCatalog from project or fallback to global catalog.
        Parameters:
        ouput - an OutputOptionMixin that can be used for tests to substitute current dir with a test directory.
        projectDir - An optional path pointing to the project directory.
        userdir - An optional path pointing to the user directory
        Returns:
        the catalog