Class QuarkusCodestartTestBuilder

    • Constructor Detail

      • QuarkusCodestartTestBuilder

        public QuarkusCodestartTestBuilder()
    • Method Detail

      • packageName

        public QuarkusCodestartTestBuilder packageName​(String packageName)
        Set the package name to use in the generated projects
        Parameters:
        packageName -
        Returns:
      • codestarts

        public QuarkusCodestartTestBuilder codestarts​(String... codestarts)
        Set the list of codestarts that should be added to the generated projects
        Parameters:
        codestarts - the list of codestarts
        Returns:
      • extensions

        public QuarkusCodestartTestBuilder extensions​(Collection<io.quarkus.maven.dependency.ArtifactCoords> extensions)
        Set the list of extensions (and their codestarts) that should be added to the generated projects
        Parameters:
        extensions - the list of extensions
        Returns:
      • extension

        public QuarkusCodestartTestBuilder extension​(io.quarkus.maven.dependency.ArtifactCoords extension)
        Set the extension (and its codestarts) that should be added to the generated projects
        Parameters:
        extension - the extension
        Returns:
      • extension

        public QuarkusCodestartTestBuilder extension​(io.quarkus.maven.dependency.ArtifactKey extension)
        Set the extension (and its codestarts) that should be added to the generated projects
        Parameters:
        extension - the extension
        Returns:
      • quarkusCodestartCatalog

        public QuarkusCodestartTestBuilder quarkusCodestartCatalog​(QuarkusCodestartCatalog quarkusCodestartCatalog)
        Specify a custom quarkus codestart catalog, by default it will use the extension catalog to get it.
        Parameters:
        quarkusCodestartCatalog - the quarkusCodestartCatalog
        Returns:
      • extensionCatalog

        public QuarkusCodestartTestBuilder extensionCatalog​(io.quarkus.registry.catalog.ExtensionCatalog extensionCatalog)
        Specify a custom extensionCatalog, by default it will use the test registry to get it.
        Parameters:
        extensionCatalog -
        Returns:
      • setupStandaloneExtensionTest

        public QuarkusCodestartTestBuilder setupStandaloneExtensionTest()
        Automatically set up the extension catalog for a standalone extension.
      • setupStandaloneExtensionTest

        public QuarkusCodestartTestBuilder setupStandaloneExtensionTest​(String extensionGA)
        Automatically set up the extension catalog for a standalone extension. Add the given extension using the version from the current project.
        Parameters:
        extensionGA - the extension groupId:ArtifactId